Cygwin: inline get_socket_flags()
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -720,17 +720,6 @@ fhandler_socket::link (const char *newpath)
|
||||
return fhandler_base::link (newpath);
|
||||
}
|
||||
|
||||
int
|
||||
fhandler_socket::get_socket_flags ()
|
||||
{
|
||||
int ret = 0;
|
||||
if (is_nonblocking ())
|
||||
ret |= SOCK_NONBLOCK;
|
||||
if (close_on_exec ())
|
||||
ret |= SOCK_CLOEXEC;
|
||||
return ret;
|
||||
}
|
||||
|
||||
int
|
||||
fhandler_socket::shutdown (int how)
|
||||
{
|
||||
|
Reference in New Issue
Block a user