Mercurial > emacs
changeset 18726:cfbf43d0fd54
(shutdown): Define.
(sys_shutdown): Export.
author | Geoff Voelker <voelker@cs.washington.edu> |
---|---|
date | Thu, 10 Jul 1997 20:12:15 +0000 |
parents | 07145cb40453 |
children | f3b080ae4fca |
files | nt/inc/sys/socket.h |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/nt/inc/sys/socket.h Thu Jul 10 20:10:09 1997 +0000 +++ b/nt/inc/sys/socket.h Thu Jul 10 20:12:15 1997 +0000 @@ -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 @@ 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