/*
* call-seq:
*
* Kgio.accept_cloexec? -> true or false
*
* Returns true if newly accepted Kgio::Sockets are created with the
* FD_CLOEXEC file descriptor flag, false if not.
*/
static VALUE get_cloexec(VALUE mod)
{
return (accept4_flags & SOCK_CLOEXEC) == SOCK_CLOEXEC ? Qtrue : Qfalse;
}