equal
deleted
inserted
replaced
70 /* |
70 /* |
71 * Create the marker file descriptor by establishing a loopback connection |
71 * Create the marker file descriptor by establishing a loopback connection |
72 * which we shutdown but do not close the fd. The result is an fd that |
72 * which we shutdown but do not close the fd. The result is an fd that |
73 * can be used for read/write. |
73 * can be used for read/write. |
74 */ |
74 */ |
75 static int getMarkerFD() |
75 static int getMarkerFD(void) |
76 { |
76 { |
77 int sv[2]; |
77 int sv[2]; |
78 |
78 |
79 #ifdef AF_UNIX |
79 #ifdef AF_UNIX |
80 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv) == -1) { |
80 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv) == -1) { |