version 1.3, 2000/08/28 20:22:02 |
version 1.4, 2000/08/28 20:23:37 |
|
|
debug("fd %d setting O_NONBLOCK", fd); |
debug("fd %d setting O_NONBLOCK", fd); |
val |= O_NONBLOCK; |
val |= O_NONBLOCK; |
if (fcntl(fd, F_SETFL, val) == -1) |
if (fcntl(fd, F_SETFL, val) == -1) |
error("fcntl(%d, F_SETFL, O_NONBLOCK): %s", fd, strerror(errno)); |
if (errno != ENODEV) |
|
error("fcntl(%d, F_SETFL, O_NONBLOCK): %s", |
|
fd, strerror(errno)); |
} |
} |
|
|
/* Characters considered whitespace in strsep calls. */ |
/* Characters considered whitespace in strsep calls. */ |