summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
authorGeoff Voelker <voelker@cs.washington.edu>1997-07-10 20:12:15 +0000
committerGeoff Voelker <voelker@cs.washington.edu>1997-07-10 20:12:15 +0000
commit18dae88a91589a6aaf70e7f9accc1b874257481c (patch)
tree35a19f8684e9a451c7ea6449157f1d5ee9c944c1 /nt
parent995d17bb54d77e1fbd791256b4c1d835529f320f (diff)
downloademacs-18dae88a91589a6aaf70e7f9accc1b874257481c.tar.gz
(shutdown): Define.
(sys_shutdown): Export.
Diffstat (limited to 'nt')
-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 a8f00f83502..53326172fbd 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