2 * Test sw_recvfrom "syscall".
10 #include <sys/socket.h>
11 #include <netinet/in.h>
14 #include "swift_raw.h"
15 #include "swift_types.h"
23 static void recvfrom_dummy(void);
24 static void recvfrom_invalid_descriptor(void);
25 static void recvfrom_descriptor_is_not_a_socket(void);
26 static void recvfrom_socket_is_not_bound(void);
27 static void recvfrom_after_sendto_ok(void);
28 static void recvfrom_after_sendmsg_ok(void);
30 void recvfrom_test_suite(void)
36 static void recvfrom_dummy(void)