diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2000-12-11 19:45:54 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2000-12-11 19:45:54 +0000 |
commit | 947411367d78a0fcbecb21f47711bce31c5a0d08 (patch) | |
tree | 397dfac2979317e5550ae50f7fc15843ae81645c /winsup/cygwin/include/sys/socket.h | |
parent | 772231a0550283e1fa78bfc3cf3bc49014c0e239 (diff) | |
download | cygnal-947411367d78a0fcbecb21f47711bce31c5a0d08.tar.gz cygnal-947411367d78a0fcbecb21f47711bce31c5a0d08.tar.bz2 cygnal-947411367d78a0fcbecb21f47711bce31c5a0d08.zip |
* net.cc (cygwin_rexec): Eliminate superfluous call to
`set_socket_inheritance'.
* include/sys/socket.h: Add SUS defines for option values to `shutdown'.
Diffstat (limited to 'winsup/cygwin/include/sys/socket.h')
-rw-r--r-- | winsup/cygwin/include/sys/socket.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/include/sys/socket.h b/winsup/cygwin/include/sys/socket.h index 89b9af7f3..a13b55600 100644 --- a/winsup/cygwin/include/sys/socket.h +++ b/winsup/cygwin/include/sys/socket.h @@ -10,6 +10,11 @@ extern "C" { #endif +/* SUS symbolic values for the second parm to shutdown(2) */ +#define SHUT_RD 0 /* == Win32 SD_RECEIVE */ +#define SHUT_WR 1 /* == Win32 SD_SEND */ +#define SHUT_RDWR 2 /* == Win32 SD_BOTH */ + #ifndef __INSIDE_CYGWIN_NET__ int accept (int, struct sockaddr *__peer, int *); int bind (int, struct sockaddr *__my_addr, int __addrlen); |