From 7af6b16936b630feabecbce0dbc9cf84b4943481 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 9 Feb 2004 07:46:43 +0000 Subject: nginx-0.0.2-2004-02-09-10:46:43 import --- src/os/unix/ngx_socket.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/os/unix/ngx_socket.c') 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) -- cgit v1.2.3