diff options
| author | tgoodwin <tgoodwin> | 1998-10-28 14:12:08 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:12 +0100 |
| commit | b9aa3d67de90a0340a42ce816c2b8e764f99c686 (patch) | |
| tree | 2946f5b748f84555d298af53a4b24c41d5f67a66 | |
| parent | 70e64642088aadafb6e9aa8c3751db1e53a0c124 (diff) | |
s/makenonblock/makeblocking/
| -rw-r--r-- | input.c | 2 | ||||
| -rw-r--r-- | open.c | 2 | ||||
| -rw-r--r-- | rc.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -122,7 +122,7 @@ system, you lose. */ r = rc_read(istack->fd, inbuf + 2, BUFSIZE); sigchk(); if (errno == EAGAIN) { - makenonblock(istack->fd); + makeblocking(istack->fd); errno = EINTR; } } while (r < 0 && errno == EINTR); @@ -27,7 +27,7 @@ extern int rc_open(const char *name, redirtype m) { /* make a file descriptor non blocking. must only be called after read() has returned EAGAIN. */ -extern void makenonblock(int fd) { +extern void makeblocking(int fd) { int flags; if ((flags = fcntl(fd, F_GETFL)) == -1) { @@ -304,7 +304,7 @@ extern void restoreblock(Block *); /* open.c */ extern int rc_open(const char *, redirtype); -extern void makenonblock(int); +extern void makeblocking(int); /* print.c */ /* |