aboutsummaryrefslogtreecommitdiffstats
path: root/nt/inc/sys
diff options
context:
space:
mode:
authorGeoff Voelker <[email protected]>1997-07-10 20:12:15 +0000
committerGeoff Voelker <[email protected]>1997-07-10 20:12:15 +0000
commit86b9a6a9d9002ecdd2fdd2f545f1d3a0ab7298c6 (patch)
tree0ef3b8226ab47492cbd8b7db1280221d237380f1 /nt/inc/sys
parent380961a6723107adce146743f2fb2f8787e7bd69 (diff)
(shutdown): Define.
(sys_shutdown): Export.
Diffstat (limited to 'nt/inc/sys')
-rw-r--r--nt/inc/sys/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nt/inc/sys/socket.h b/nt/inc/sys/socket.h
index a8f00f8350..53326172fb 100644
--- a/nt/inc/sys/socket.h
+++ b/nt/inc/sys/socket.h
@@ -60,6 +60,7 @@
#define gethostname sys_gethostname
#define gethostbyname sys_gethostbyname
#define getservbyname sys_getservbyname
+#define shutdown sys_shutdown
int sys_socket(int af, int type, int protocol);
int sys_bind (int s, const struct sockaddr *addr, int namelen);
@@ -70,6 +71,7 @@ unsigned long sys_inet_addr (const char * cp);
int sys_gethostname (char * name, int namelen);
struct hostent * sys_gethostbyname(const char * name);
struct servent * sys_getservbyname(const char * name, const char * proto);
+int sys_shutdown (int socket, int how);
/* we are providing a real h_errno variable */
#undef h_errno