Mercurial > hg > nginx-quic
diff src/os/unix/ngx_socket.h @ 6:669801705ab1
nginx-0.0.1-2002-08-26-19:18:19 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 26 Aug 2002 15:18:19 +0000 |
parents | 34a521b1a148 |
children | f323b4f74e4a |
line wrap: on
line diff
--- a/src/os/unix/ngx_socket.h +++ b/src/os/unix/ngx_socket.h @@ -9,11 +9,14 @@ typedef int ngx_socket_t; #define ngx_init_sockets +#define ngx_socket(af, type, proto, flags) socket(af, type, proto) +#define ngx_socket_n "socket()" + #define ngx_nonblocking(s) fcntl(s, F_SETFL, O_NONBLOCK) -#define ngx_nonblocking_n "fcntl (O_NONBLOCK)" +#define ngx_nonblocking_n "fcntl(O_NONBLOCK)" #define ngx_close_socket close -#define ngx_close_socket_n "close" +#define ngx_close_socket_n "close()" #endif /* _NGX_SOCKET_H_INCLUDED_ */