diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-02-09 10:46:43 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-02-09 10:46:43 +0300 |
commit | 7af6b16936b630feabecbce0dbc9cf84b4943481 (patch) | |
tree | 18301d35a84907e66fe94ddc7600d4ec6d600409 /src/os/unix/ngx_socket.c | |
parent | 9260294400c902904cdf791c9c2e8fd069feec63 (diff) |
nginx-0.0.2-2004-02-09-10:46:43 import
Diffstat (limited to 'src/os/unix/ngx_socket.c')
-rw-r--r-- | src/os/unix/ngx_socket.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/os/unix/ngx_socket.c b/src/os/unix/ngx_socket.c index 8b34c1c17..69d3f459b 100644 --- a/src/os/unix/ngx_socket.c +++ b/src/os/unix/ngx_socket.c @@ -4,12 +4,13 @@ /* - ioctl(FIONBIO) set blocking mode with one syscall only while - fcntl(F_SETFL, ~O_NONBLOCK) need to know previous state - using fcntl(F_GETFL). - - ioctl() and fcntl() are syscalls on FreeBSD, Solaris 7/8 and Linux -*/ + * ioctl(FIONBIO) sets a blocking mode with the single syscall + * while fcntl(F_SETFL, ~O_NONBLOCK) needs to learn before + * a previous state using fcntl(F_GETFL). + * + * ioctl() and fcntl() are syscalls on at least FreeBSD 2.x, Linux 2.2 + * and Solaris 7 + */ #if (HAVE_FIONBIO) |