1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/BBA1.5_platform/apps/public/strace-4.16/tests-m32/shutdown.c
2024-07-22 01:58:46 -03:00

16 lines
273 B
C

/* Check decoding of shutdown syscall. */
#include "tests.h"
#include <stdio.h>
#include <sys/socket.h>
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;
}