2 * Test getsockname "syscall".
10 #include <sys/socket.h>
11 #include <netinet/in.h>
14 #include "swift_types.h"
22 static void getsockname_dummy(void);
23 static void getsockname_invalid_descriptor(void);
24 static void getsockname_descriptor_not_a_socket(void);
25 static void getsockname_invalid_len(void);
26 static void getsockname_ok(void);
28 void getsockname_test_suite(void)
34 static void getsockname_dummy(void)