evutil_make_socket_closeonexec

Do platform-specific operations as needed to close a socket upon a successful execution of one of the exec*() functions.

@param sock The socket to be closed @return 0 on success, -1 on failure

extern (C) nothrow
int
evutil_make_socket_closeonexec

Meta