Searched refs:SHUT_WR (Results 1 - 24 of 24) sorted by relevance

/macosx-10.9.5/xnu-2422.115.4/tools/tests/perf_index/
H A Dtest_controller.py38 client_socket.shutdown(socket.SHUT_WR)
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/
H A Droken-common.h267 #ifndef SHUT_WR
268 #define SHUT_WR 1 macro
/macosx-10.9.5/remote_cmds-41.90.1/rsh.tproj/
H A Drsh.c234 (void)shutdown(rem, SHUT_WR);
289 (void)shutdown(rem, SHUT_WR);
/macosx-10.9.5/OpenSSH-186/openssh/
H A Ddefines.h37 SHUT_WR, /* No more transmissions. */ enumerator in enum:__anon3308
41 # define SHUT_WR SHUT_WR macro
H A Dnchan.c496 if (shutdown(c->sock, SHUT_WR) < 0)
H A Dserverloop.c490 shutdown(fdin, SHUT_WR); /* We will no longer send. */
650 shutdown(fdin, SHUT_WR); /* We will no longer send. */
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosSupport/
H A DSockets.h109 /* $Copyright: * * Copyright 1998-2000 by the Massachusetts Institute of Technology. * * All rights reserved. * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, * provided that the above copyright notice appear in all copies and that * both that copyright notice and this permission notice appear in * supporting documentation, and that the name of M.I.T. not be used in * advertising or publicity pertaining to distribution of the software * without specific, written prior permission. Furthermore if you modify * this software you must label your software as modified software and not * distribute it in such a fashion that it might be confused with the * original MIT software. M.I.T. makes no representations about the * suitability of this software for any purpose. It is provided "as is" * without express or implied warranty. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * * Individual source code files are copyright MIT, Cygnus Support, * OpenVision, Oracle, Sun Soft, FundsXpress, and others. * * Project Athena, Athena, Athena MUSE, Discuss, Hesiod, Kerberos, Moira, * and Zephyr are trademarks of the Massachusetts Institute of Technology * (MIT). No commercial use of these trademarks may be made without prior * written permission of MIT. * * "Commercial use" means use of a name in a product or other for-profit * manner. It does NOT prevent a commercial firm from referring to the MIT * trademarks in order to convey information (although in doing so, * recognition of their trademark status should be given). * $ */ /* $Header: /Volumes/backup/dsmigrate/Dumps/../CVS/passwordserver_sasl/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosSupport/Sockets.h,v 1.4 2005/01/10 19:10:48 snsimon Exp $ */ /* * * Sockets.h -- Main external header file for the sockets library. * */ #include <KerberosSupport/ErrorLib.h> #include <KerberosSupport/Utilities.h> #include <KerberosSupport/SocketErrors.h> #include <unix.h> #include <MacTypes.h> #include <Events.h> #include <OpenTptInternet.h> #ifndef _SOCKETS_ #define _SOCKETS_ #ifdef __cplusplus extern "C" { #endif #if defined(__CFM68K__) && !defined(__USING_STATIC_LIBS__) # pragma import on #endif /*******************/ /* API Definitions */ /*******************/ #define FD_SETSIZE 256 /* The maximum # of sockets -- cannot be changed */ /* socket types */ #define SOCK_STREAM 0 /* stream socket -- connection oriented */ #define SOCK_DGRAM 1 /* datagram socket -- connectionless */ #define SOCK_RAW 2 /* raw socket */ #define SOCK_SEQPACKET 3 /* sequenced packet socket */ #define SOCK_RDM 4 /* reliably delivered message socket */ /* address families -- get AF_INET from OpenTptInternet.h */ #define AF_UNSPEC 0 /* Unspecified */ #define AF_UNIX 1 /* Unix internal protocols */ /* protocol families */ #define PF_UNSPEC AF_UNSPEC /* Unspecified */ #define PF_UNIX AF_UNIX /* Unix internal protocols */ #define PF_INET AF_INET /* Internet protocols */ /* IP Address Wildcard */ #define INADDR_ANY kOTAnyInetAddress #define INADDR_NONE 0xffffffff /* recv and send flags */ #define MSG_DONTROUTE 1 #define MSG_DONTWAIT 2 #define MSG_OOB 4 #define MSG_PEEK 8 #define MSG_WAITALL 16 #define NUMBITSPERBYTE 8 /* Number of bits per byte */ /* socket_fnctl() requests */ #define F_GETFL 3 /* Get file flags */ #define F_SETFL 4 /* Set file flags */ /* shutdown() flags */ #define SHUT_RD 0 /* Shutdown read side of the connection */ #define SHUT_WR 1 /* Shutdown write side of the connection */ #define SHUT_RDWR 2 /* Shutdown read and writ (…)
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/sh/
H A Dio.c84 # ifndef SHUT_WR
85 # define SHUT_WR 1 macro
88 # define pipe(v) ((socketpair(AF_UNIX,SOCK_STREAM,0,v)<0||shutdown((v)[1],SHUT_RD)<0||fchmod((v)[1],S_IWUSR)<0||shutdown((v)[0],SHUT_WR)<0||fchmod((v)[0],S_IRUSR)<0)?(-1):0)
90 # define pipe(v) ((socketpair(AF_UNIX,SOCK_STREAM,0,v)<0||shutdown((v)[1],SHUT_RD)<0||shutdown((v)[0],SHUT_WR)<0)?(-1):0)
905 #if defined(SHUT_RD) && defined(SHUT_WR)
906 shutdown(pv[out],out?SHUT_RD:SHUT_WR);
/macosx-10.9.5/postfix-252/postfix/src/global/
H A Dsmtp_stream.c203 (void) shutdown(vstream_fileno(stream), SHUT_WR); local
/macosx-10.9.5/ruby-104/ruby/lib/net/
H A Dftp.rb436 sock.shutdown(Socket::SHUT_WR) rescue nil
493 conn.shutdown(Socket::SHUT_WR)
520 conn.shutdown(Socket::SHUT_WR)
951 @sock.shutdown(Socket::SHUT_WR) rescue nil
/macosx-10.9.5/text_cmds-87/cat/
H A Dcat.c300 if (shutdown(fd, SHUT_WR) == -1)
/macosx-10.9.5/curl-78.94.1/curl/lib/
H A Dcurl_setup.h689 # define SHUT_WR 0x01 macro
/macosx-10.9.5/curl-78.94.1/curl/tests/server/
H A Dsws.c1597 shutdown(clientfd[i], SHUT_WR);
1617 shutdown(serverfd[i], SHUT_WR);
1650 shutdown(clientfd[i], SHUT_WR);
1663 shutdown(serverfd[i], SHUT_WR);
/macosx-10.9.5/ruby-104/ruby/ext/socket/
H A Dbasicsocket.c43 * s.shutdown(Socket::SHUT_WR) disallows further write.
49 * - :WR, :SHUT_WR, "WR" and "SHUT_WR" are accepted as Socket::SHUT_WR.
77 if (how != SHUT_WR && how != SHUT_RD && how != SHUT_RDWR) {
78 rb_raise(rb_eArgError, "`how' should be either :SHUT_RD, :SHUT_WR, :SHUT_RDWR");
/macosx-10.9.5/ruby-104/ruby/test/net/ftp/
H A Dtest_ftp.rb559 conn.shutdown(Socket::SHUT_WR)
799 sock.shutdown(Socket::SHUT_WR)
/macosx-10.9.5/sudo-72/src/
H A Dexec.c582 (void) shutdown(sv[0], SHUT_WR);
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/
H A Dsocket.h867 #define SHUT_WR 1 /* shut down the writing side */ macro
/macosx-10.9.5/xnu-2422.115.4/bsd/netinet/
H A Dflow_divert.c614 if (how != SHUT_WR) {
1076 return SHUT_WR;
1102 how = SHUT_WR;
1114 if (how != SHUT_WR) {
1560 } else if (how == SHUT_WR) {
2102 flow_divert_update_closed_state(fd_cb, SHUT_WR, FALSE);
H A Dmptcp_subr.c1457 (void) soshutdownlock(so, SHUT_WR);
/macosx-10.9.5/Heimdal-323.92.1/appl/rsh/
H A Drsh.c145 shutdown (s, SHUT_WR);
/macosx-10.9.5/netcat-20/
H A Dnetcat.c952 shutdown(nfd, SHUT_WR);
/macosx-10.9.5/ruby-104/ruby/test/socket/
H A Dtest_unix.rb391 s1.shutdown(Socket::SHUT_WR)
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/
H A Duipc_socket.c3033 case SHUT_WR:
3060 if (how != SHUT_WR) {
4934 (void) soshutdownlock(so, SHUT_WR);
/macosx-10.9.5/ruby-104/ruby/
H A Dio.c4422 #ifndef SHUT_WR
4423 # define SHUT_WR 1 macro
4425 if (shutdown(fptr->fd, SHUT_WR) < 0)

Completed in 315 milliseconds