From: Paul Eggert Date: Wed, 7 Jul 1999 05:59:52 +0000 (+0000) Subject: Initial revision X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=bb91f1ef1748da504ffe953992a4c0ef7694230f;p=chaz%2Ftar Initial revision --- diff --git a/lib/safe-read.h b/lib/safe-read.h new file mode 100644 index 0000000..8e4b165 --- /dev/null +++ b/lib/safe-read.h @@ -0,0 +1,10 @@ +#ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args +# else +# define PARAMS(Args) () +# endif +#endif + +ssize_t +safe_read PARAMS ((int desc, void *ptr, size_t len));