comparison src/os/unix/ngx_socket.c @ 645:4946078f0a79 release-0.3.44

nginx-0.3.44-RELEASE import *) Feature: the "wait" parameter in the "include" SSI command. *) Feature: the Ukrainian and Byelorussian characters were added to koi-win conversion table. *) Bugfix: in the SSI.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 04 May 2006 15:32:46 +0000
parents 9c2f3ed7a247
children 926db7d6748a
comparison
equal deleted inserted replaced
644:610ff734a8cc 645:4946078f0a79
8 #include <ngx_core.h> 8 #include <ngx_core.h>
9 9
10 10
11 /* 11 /*
12 * ioctl(FIONBIO) sets a blocking mode with the single syscall 12 * ioctl(FIONBIO) sets a blocking mode with the single syscall
13 * while fcntl(F_SETFL, ~O_NONBLOCK) needs to learn before 13 * while fcntl(F_SETFL, !O_NONBLOCK) needs to learn before
14 * the previous state using fcntl(F_GETFL). 14 * the previous state using fcntl(F_GETFL).
15 * 15 *
16 * ioctl() and fcntl() are syscalls at least in FreeBSD 2.x, Linux 2.2 16 * ioctl() and fcntl() are syscalls at least in FreeBSD 2.x, Linux 2.2
17 * and Solaris 7. 17 * and Solaris 7.
18 * 18 *