diff options
Diffstat (limited to '')
-rw-r--r-- | lang/modula-3-socks/files/listen.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/modula-3-socks/files/listen.c b/lang/modula-3-socks/files/listen.c new file mode 100644 index 000000000000..33e28e87a242 --- /dev/null +++ b/lang/modula-3-socks/files/listen.c @@ -0,0 +1,14 @@ +#include "wrap.h" +#include <sys/types.h> +#include <sys/socket.h> + +int +m3_listen(int s, int backlog) +{ + int result; + + ENTER_CRITICAL; + result = listen(s, backlog); + EXIT_CRITICAL; + return result; +} |