From 5556dde4d3ad4e34267320b1411fc090b18a24b0 Mon Sep 17 00:00:00 2001 From: Byron Rakitzis Date: Mon, 7 Mar 1994 00:00:01 +0000 Subject: beta: rc-1.5betadev1 --- utils.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'utils.c') diff --git a/utils.c b/utils.c index 6ab303c..67b146b 100644 --- a/utils.c +++ b/utils.c @@ -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) { -- cgit v1.2.3