diff options
Diffstat (limited to 'utils.c')
| -rw-r--r-- | utils.c | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -82,7 +82,7 @@ extern void writeall(int fd, char *buf, SIZE_T remain) { slow = FALSE; } slow = FALSE; - SIGCHK; + sigchk(); } extern int rc_read(int fd, char *buf, SIZE_T n) { @@ -101,18 +101,9 @@ extern int rc_read(int fd, char *buf, SIZE_T n) { errno = EINTR; r = -1; } - SIGCHK; return r; } -/* clear out z bytes from character string s */ - -extern char *clear(char *s, SIZE_T z) { - while (z != 0) - s[--z] = 0; - return s; -} - /* duplicate a fd and close the old one only if necessary */ extern int mvfd(int i, int j) { |