diff options
| author | Geoff Voelker | 1997-07-10 20:12:15 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1997-07-10 20:12:15 +0000 |
| commit | 86b9a6a9d9002ecdd2fdd2f545f1d3a0ab7298c6 (patch) | |
| tree | 0ef3b8226ab47492cbd8b7db1280221d237380f1 | |
| parent | 380961a6723107adce146743f2fb2f8787e7bd69 (diff) | |
| download | emacs-86b9a6a9d9002ecdd2fdd2f545f1d3a0ab7298c6.tar.gz emacs-86b9a6a9d9002ecdd2fdd2f545f1d3a0ab7298c6.zip | |
(shutdown): Define.
(sys_shutdown): Export.
| -rw-r--r-- | nt/inc/sys/socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nt/inc/sys/socket.h b/nt/inc/sys/socket.h index a8f00f83502..53326172fbd 100644 --- a/nt/inc/sys/socket.h +++ b/nt/inc/sys/socket.h | |||
| @@ -60,6 +60,7 @@ | |||
| 60 | #define gethostname sys_gethostname | 60 | #define gethostname sys_gethostname |
| 61 | #define gethostbyname sys_gethostbyname | 61 | #define gethostbyname sys_gethostbyname |
| 62 | #define getservbyname sys_getservbyname | 62 | #define getservbyname sys_getservbyname |
| 63 | #define shutdown sys_shutdown | ||
| 63 | 64 | ||
| 64 | int sys_socket(int af, int type, int protocol); | 65 | int sys_socket(int af, int type, int protocol); |
| 65 | int sys_bind (int s, const struct sockaddr *addr, int namelen); | 66 | int sys_bind (int s, const struct sockaddr *addr, int namelen); |
| @@ -70,6 +71,7 @@ unsigned long sys_inet_addr (const char * cp); | |||
| 70 | int sys_gethostname (char * name, int namelen); | 71 | int sys_gethostname (char * name, int namelen); |
| 71 | struct hostent * sys_gethostbyname(const char * name); | 72 | struct hostent * sys_gethostbyname(const char * name); |
| 72 | struct servent * sys_getservbyname(const char * name, const char * proto); | 73 | struct servent * sys_getservbyname(const char * name, const char * proto); |
| 74 | int sys_shutdown (int socket, int how); | ||
| 73 | 75 | ||
| 74 | /* we are providing a real h_errno variable */ | 76 | /* we are providing a real h_errno variable */ |
| 75 | #undef h_errno | 77 | #undef h_errno |