comparison src/os/unix/ngx_socket.h @ 2:ffffe1499bce

nginx-0.0.1-2002-08-16-19:27:03 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 16 Aug 2002 15:27:03 +0000
parents
children 34a521b1a148
comparison
equal deleted inserted replaced
1:d220029ac7f3 2:ffffe1499bce
1 #ifndef _NGX_SOCKET_H_INCLUDED_
2 #define _NGX_SOCKET_H_INCLUDED_
3
4
5 #include <ngx_config.h>
6
7
8 typedef int ngx_socket_t;
9
10 #define ngx_init_sockets
11
12 #define ngx_nonblocking(s) fcntl(s, F_SETFL, O_NONBLOCK)
13 #define ngx_nonblocking_n "fcntl (O_NONBLOCK)"
14
15
16 #endif /* _NGX_SOCKET_H_INCLUDED_ */