Home | History | Annotate | Download | only in Modules

Lines Matching refs:SOCK_CLOEXEC

954     /* It's possible to pass SOCK_NONBLOCK and SOCK_CLOEXEC bit flags
963 #ifdef SOCK_CLOEXEC
964 s->sock_type = s->sock_type & ~SOCK_CLOEXEC;
2476 #if defined(HAVE_ACCEPT4) && defined(SOCK_CLOEXEC)
2497 #if defined(HAVE_ACCEPT4) && defined(SOCK_CLOEXEC)
2500 SOCK_CLOEXEC);
2553 #if defined(HAVE_ACCEPT4) && defined(SOCK_CLOEXEC)
4871 #ifdef SOCK_CLOEXEC
4873 * than 2.6.27 if SOCK_CLOEXEC flag is set in the socket type. */
4887 #ifdef SOCK_CLOEXEC
5041 #ifdef SOCK_CLOEXEC
5043 fd = socket(family, type | SOCK_CLOEXEC, proto);
5049 /* Linux older than 2.6.27 does not support SOCK_CLOEXEC */
5752 #ifdef SOCK_CLOEXEC
5770 #ifdef SOCK_CLOEXEC
5772 ret = socketpair(family, type | SOCK_CLOEXEC, proto, sv);
5778 /* Linux older than 2.6.27 does not support SOCK_CLOEXEC */
7149 #ifdef SOCK_CLOEXEC
7150 PyModule_AddIntMacro(m, SOCK_CLOEXEC);