summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorByron Rakitzis <byron@archone.tamu.edu>1994-03-07 00:00:01 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:22:59 +0100
commit5556dde4d3ad4e34267320b1411fc090b18a24b0 (patch)
tree9d22c48c75bcd778f30cbb2e37b6dff6abb4f1d2 /utils.c
parent26bb34cf036027dfa22dfae8d8fc2f6bfd6acb75 (diff)
beta: rc-1.5betadev1
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c11
1 files changed, 1 insertions, 10 deletions
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) {