Searched refs:shutdown (Results 1 - 25 of 219) sorted by relevance

123456789

/freebsd-9.3-release/sbin/shutdown/
H A DMakefile4 PROG= shutdown
5 MAN= shutdown.8
6 LINKS= ${BINDIR}/shutdown ${BINDIR}/poweroff
7 MLINKS= shutdown.8 poweroff.8
/freebsd-9.3-release/tools/regression/sockets/shutdown/
H A DMakefile5 PROG= shutdown
H A Dshutdown.c49 if ((shutdown(listen_sock, SHUT_RDWR) != -1) && (errno != EBADF))
50 errx(-1, "shutdown() for invalid file descriptor does not "
92 if ((shutdown(connect_sock, SHUT_RD - 1) != -1) && (errno != EINVAL))
93 errx(-1, "shutdown(SHUT_RD - 1) does not return EINVAL");
94 if ((shutdown(connect_sock, SHUT_RDWR + 1) != -1) && (errno != EINVAL))
95 errx(-1, "shutdown(SHUT_RDWR + 1) does not return EINVAL");
97 if (shutdown(connect_sock, SHUT_RD) < 0)
98 errx(-1, "shutdown(SHUT_RD) for connect socket: %s",
100 if (shutdown(connect_sock, SHUT_WR) < 0)
101 errx(-1, "shutdown(SHUT_W
[all...]
/freebsd-9.3-release/etc/rc.d/
H A Dlocal9 # KEYWORD: shutdown
28 if [ -f /etc/rc.shutdown.local ]; then
30 . /etc/rc.shutdown.local
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/
H A Dtst.schedenable.ksh63 xdt:sched::shutdown-poweroff,
64 xdt:sched::shutdown-reboot,
65 xdt:sched::shutdown-suspend,
66 xdt:sched::shutdown-crash
/freebsd-9.3-release/share/man/man8/
H A DMakefile22 rc.8 rc.shutdown.8
/freebsd-9.3-release/share/examples/netgraph/
H A Dudp.tunnel28 ngctl shutdown ng0:
/freebsd-9.3-release/sys/arm/at91/
H A Dat91_rst.c53 u_int shutdown; /* Shutdown in progress */ member in struct:rst_softc
151 if (sc->shutdown++ >= RST_TIMEOUT * RST_TICK) {
156 sc->shutdown = 0;
170 if (sc->shutdown == 0)
/freebsd-9.3-release/tools/regression/poll/
H A Dsockpoll.c132 /* With shutdown(SHUT_WR) */
134 if (shutdown(fd[0], SHUT_WR) == -1)
135 err(1, "shutdown");
138 report(num++, "after shutdown(SHUT_WR)", POLLOUT, pfd0.revents);
141 report(num++, "other side after shutdown(SHUT_WR)", POLLIN | POLLOUT, pfd1.revents);
146 err(1, "read after other side shutdown");
162 if (shutdown(fd[1], SHUT_WR) == -1)
163 err(1, "shutdown second");
166 report(num++, "after second shutdown", POLLIN | POLLHUP, pfd0.revents);
169 report(num++, "after second shutdown", POLLHU
[all...]
/freebsd-9.3-release/tools/regression/sockets/unix_sorflush/
H A Dunix_sorflush.c31 * - Process (b) is blocked in shutdown() on a socket waiting on (a).
34 * This race is premised on shutdown() not interrupting (a) properly, and the
65 if (shutdown(s, SHUT_RD) < 0)
66 err(-1, "shutdown_and_exit: shutdown");
/freebsd-9.3-release/usr.sbin/ngctl/
H A DMakefile9 msg.c debug.c shutdown.c rmhook.c status.c types.c write.c
/freebsd-9.3-release/crypto/openssl/crypto/bio/
H A Dbss_sock.c124 if (a->shutdown) {
173 b->shutdown = (int)num;
186 ret = b->shutdown;
189 b->shutdown = (int)num;
H A Dbss_fd.c125 if (a->shutdown) {
182 b->shutdown = (int)num;
195 ret = b->shutdown;
198 b->shutdown = (int)num;
H A Dbss_mem.c122 bi->shutdown = 1;
133 if (a->shutdown) {
238 b->shutdown = (int)num;
248 ret = (long)b->shutdown;
251 b->shutdown = (int)num;
H A Dbss_acpt.c138 bi->shutdown = 1;
175 shutdown(c->accept_sock, 2);
190 if (a->shutdown) {
383 b->shutdown = (int)num;
406 ret = b->shutdown;
409 b->shutdown = (int)num;
H A Dbss_file.c174 if (a->shutdown) {
259 b->shutdown = (int)num & BIO_CLOSE;
318 b->shutdown = (int)num & BIO_CLOSE;
368 ret = (long)b->shutdown;
371 b->shutdown = (int)num;
/freebsd-9.3-release/contrib/tcp_wrappers/
H A Dfix_options.c106 shutdown(fd, 2);
127 shutdown(fd, 2);
/freebsd-9.3-release/contrib/groff/src/devices/grohtml/
H A Dhtml-text.cpp473 shutdown(COLOR_TAG); // shutdown a previous color tag, if present
478 * done_color - shutdown an outstanding color tag, if it exists.
483 shutdown(COLOR_TAG);
487 * shutdown - shuts down an html tag.
490 char *html_text::shutdown (HTML_TAG t) function in class:html_text
562 shutdown(B_TAG);
571 shutdown(I_TAG);
580 shutdown(SUP_TAG);
589 shutdown(SUB_TA
[all...]
/freebsd-9.3-release/etc/
H A Drc.shutdown30 # Site-specific closing actions for daemons run by init on shutdown,
63 # will terminate rc.shutdown if rc.shutdown doesn't complete
72 logger -t rc.shutdown "$_msg"
80 # Determine the shutdown order of the /etc/rc.d scripts,
83 rcorder_opts="-k shutdown"
109 # Insert other shutdown procedures here
/freebsd-9.3-release/contrib/lukemftpd/
H A Dacconfig.h103 #undef shutdown macro
/freebsd-9.3-release/sbin/
H A DMakefile70 shutdown \
/freebsd-9.3-release/tools/regression/sockets/sigpipe/
H A Dsigpipe.c47 * been shutdown for write. This test runs several test cases with UNIX
123 if (shutdown(sock2, SHUT_WR) < 0)
124 err(-1, "%s: shutdown", testname);
142 if (shutdown(sock2, SHUT_WR) < 0)
143 err(-1, "%s: shutdown", testname);
157 if (shutdown(sock2, SHUT_WR) < 0)
158 err(-1, "%s: shutdown", testname);
176 if (shutdown(sock2, SHUT_WR) < 0)
177 err(-1, "%s: shutdown", testname);
/freebsd-9.3-release/usr.sbin/faithd/test/
H A Dfaithd.rb33 s1.shutdown(0)
34 s2.shutdown(1)
126 s4.shutdown(0)
127 s6.shutdown(1)
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dtest-closed.c106 shutdown(pair[0], SHUT_WR);
H A Dtest-eof.c110 shutdown(pair[0], SHUT_WR);

Completed in 175 milliseconds

123456789