4 Socket_GenericSock_socket (C_Int_t domain
, C_Int_t type
, C_Int_t protocol
) {
8 out
= socket (domain
, type
, protocol
);
9 if (out
== -1) MLton_fixSocketErrno ();
15 Socket_GenericSock_socketPair (C_Int_t domain
, C_Int_t type
, C_Int_t protocol
, Array(C_Int_t
) sv
) {
19 out
= socketpair (domain
, type
, protocol
, (int*)sv
);
20 if (out
== -1) MLton_fixSocketErrno ();