summaryrefslogtreecommitdiff
path: root/lib/safe-read.h
blob: 8e4b165cbfe44e78ff23f59b15969b90d73c9c2c (plain)
1
2
3
4
5
6
7
8
9
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));