aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_socket.c')
-rw-r--r--src/os/unix/ngx_socket.c13
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)