Lines Matching refs:shutdown
72 e = shutdown(s, SHUT_RDWR);
74 err(EXIT_FAILURE, "shutdown");
93 err(EXIT_FAILURE, "setsockopt didn't fail on a shutdown socket");
101 err(EXIT_FAILURE, "getsockname didn't fail on a shutdown socket");
107 err(EXIT_FAILURE, "listen didn't fail on a shutdown socket");
120 err(EXIT_FAILURE, "bind didn't fail on a shutdown socket");
123 } else if (match(target, "shutdown")) {
124 e = shutdown(s, SHUT_RDWR);
126 err(EXIT_FAILURE, "shutdown didn't fail on a shutdown socket");
128 err(EXIT_FAILURE, "shutdown failed with unexpected error");