diff options
| author | Byron Rakitzis <byron@archone.tamu.edu> | 1994-03-07 00:00:01 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:22:59 +0100 |
| commit | 5556dde4d3ad4e34267320b1411fc090b18a24b0 (patch) | |
| tree | 9d22c48c75bcd778f30cbb2e37b6dff6abb4f1d2 /utils.c | |
| parent | 26bb34cf036027dfa22dfae8d8fc2f6bfd6acb75 (diff) | |
beta: rc-1.5betadev1
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) { |