mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
15 lines
230 B
C
15 lines
230 B
C
|
#include "wrap.h"
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/socket.h>
|
||
|
|
||
|
int
|
||
|
m3_socket(int domain, int type, int protocol)
|
||
|
{
|
||
|
int result;
|
||
|
|
||
|
ENTER_CRITICAL;
|
||
|
result = socket(domain, type, protocol);
|
||
|
EXIT_CRITICAL;
|
||
|
return result;
|
||
|
}
|