/* Check decoding of shutdown syscall. */ #include "tests.h" #include #include int main(void) { int rc = shutdown(-1, SHUT_RDWR); printf("shutdown(-1, SHUT_RDWR) = %d %s (%m)\n", rc, errno2name()); puts("+++ exited with 0 +++"); return 0; }