/freebsd-10.0-release/tools/regression/poll/ |
H A D | sockpoll.c | 132 /* With shutdown(SHUT_WR) */ 134 if (shutdown(fd[0], SHUT_WR) == -1) 138 report(num++, "after shutdown(SHUT_WR)", POLLOUT, pfd0.revents); 141 report(num++, "other side after shutdown(SHUT_WR)", POLLIN | POLLOUT, pfd1.revents); 162 if (shutdown(fd[1], SHUT_WR) == -1) 178 * Note that shutdown(SHUT_WR) is passed to the peer, but 190 if (shutdown(fd[0], SHUT_WR) == -1) 194 report(num++, "after shutdown(SHUT_WR)", POLLHUP, pfd0.revents); 197 report(num++, "other side after shutdown(SHUT_WR)", POLLIN | POLLOUT, pfd1.revents);
|
/freebsd-10.0-release/tools/regression/sockets/sigpipe/ |
H A D | sigpipe.c | 123 if (shutdown(sock2, SHUT_WR) < 0) 142 if (shutdown(sock2, SHUT_WR) < 0) 157 if (shutdown(sock2, SHUT_WR) < 0) 176 if (shutdown(sock2, SHUT_WR) < 0)
|
/freebsd-10.0-release/tools/regression/sockets/shutdown/ |
H A D | shutdown.c | 100 if (shutdown(connect_sock, SHUT_WR) < 0) 101 errx(-1, "shutdown(SHUT_WR) for connect socket: %s",
|
/freebsd-10.0-release/crypto/heimdal/lib/roken/ |
H A D | roken-common.h | 267 #ifndef SHUT_WR 268 #define SHUT_WR 1 macro
|
/freebsd-10.0-release/usr.bin/rsh/ |
H A D | rsh.c | 225 (void)shutdown(rem, SHUT_WR); 280 (void)shutdown(rem, SHUT_WR);
|
/freebsd-10.0-release/crypto/openssh/ |
H A D | defines.h | 37 SHUT_WR, /* No more transmissions. */ enumerator in enum:__anon4935 41 # define SHUT_WR SHUT_WR macro
|
H A D | nchan.c | 496 if (shutdown(c->sock, SHUT_WR) < 0)
|
H A D | serverloop.c | 491 shutdown(fdin, SHUT_WR); /* We will no longer send. */ 651 shutdown(fdin, SHUT_WR); /* We will no longer send. */
|
/freebsd-10.0-release/contrib/openbsm/bin/auditdistd/ |
H A D | proto_common.c | 206 if (shutdown(sock, SHUT_WR) == -1)
|
/freebsd-10.0-release/sbin/hastd/ |
H A D | proto_common.c | 205 if (shutdown(sock, SHUT_WR) == -1)
|
/freebsd-10.0-release/sys/sys/ |
H A D | socket.h | 556 #define SHUT_WR 1 /* shut down the writing side */ macro 563 #define PRU_FLUSH_WR SHUT_WR
|
/freebsd-10.0-release/bin/cat/ |
H A D | cat.c | 336 if (shutdown(fd, SHUT_WR) == -1)
|
/freebsd-10.0-release/sys/dev/cxgb/ulp/iw_cxgb/ |
H A D | iw_cxgb_cm.c | 301 soshutdown(epc->so, SHUT_WR|SHUT_RD); 309 soshutdown(epc->so, SHUT_WR);
|
/freebsd-10.0-release/contrib/netcat/ |
H A D | netcat.c | 842 shutdown(nfd, SHUT_WR);
|
/freebsd-10.0-release/crypto/heimdal/appl/rsh/ |
H A D | rsh.c | 145 shutdown (s, SHUT_WR);
|
/freebsd-10.0-release/sys/rpc/ |
H A D | clnt_vc.c | 820 soshutdown(so, SHUT_WR);
|
/freebsd-10.0-release/sys/dev/cxgbe/iw_cxgbe/ |
H A D | cm.c | 240 rc = soshutdown(so, SHUT_WR | SHUT_RD); 253 return (soshutdown(epc->so, SHUT_WR));
|
/freebsd-10.0-release/usr.bin/truss/ |
H A D | syscalls.c | 367 X(SHUT_RD) X(SHUT_WR) X(SHUT_RDWR) XEND
|
/freebsd-10.0-release/sys/kern/ |
H A D | uipc_socket.c | 2255 if (!(how == SHUT_RD || how == SHUT_WR || how == SHUT_RDWR)) 2261 if (how != SHUT_WR)
|
/freebsd-10.0-release/sbin/dhclient/ |
H A D | dhclient.c | 495 if (shutdown(routefd, SHUT_WR) < 0)
|