4
0

safe-read.h 281 B

12345678910
  1. #ifndef PARAMS
  2. # if defined PROTOTYPES || (defined __STDC__ && __STDC__)
  3. # define PARAMS(Args) Args
  4. # else
  5. # define PARAMS(Args) ()
  6. # endif
  7. #endif
  8. ssize_t full_write PARAMS ((int desc, const char *ptr, size_t len));
  9. ssize_t safe_read PARAMS ((int desc, void *ptr, size_t len));