blob: d770c43a825d2bc26daca9d68ab6fdbc89b195a1 [file] [log] [blame]
Dmitry V. Levind95eaef2016-07-18 23:39:18 +00001/* Check decoding of shutdown syscall. */
2
3#include "tests.h"
4#include <stdio.h>
5#include <sys/socket.h>
6
7int
8main(void)
9{
10 int rc = shutdown(-1, SHUT_RDWR);
11 printf("shutdown(-1, SHUT_RDWR) = %d %s (%m)\n", rc, errno2name());
12
13 puts("+++ exited with 0 +++");
14 return 0;
15}