Debian Codegraph @

gcc/testsuite/gm2/projects/pim/run/pass/tower/SocketControl.c

raw
1
2 #include <unistd.h>
3 #include <fcntl.h>
4 #include <signal.h>
5
6
7 int SocketControl_nonBlocking (int fd)
8 {
9 return fcntl (fd, fcntl (fd, F_GETFL) | O_NONBLOCK);
10 }
11
12 int SocketControl_ignoreSignals (void)
13 {
14 signal (SIGPIPE, SIG_IGN);
15 }
16
17 void _M2_SocketControl_init (int, char *, char *)
18 {
19 }
20
21 void _M2_SocketControl_finish (int, char *, char *)
22 {
23 }
24
25 void _M2_SocketControl_ctor ()
26 {
27 }