Home
last modified time | relevance | path

Searched refs:fcntl (Results 1 – 23 of 23) sorted by relevance

/PHP-5.3/sapi/fpm/fpm/
H A Dfpm_sockets.h33 int flags = fcntl(fd, F_GETFL); in fd_set_blocked()
44 return fcntl(fd, F_SETFL, flags); in fd_set_blocked()
H A Dfpm_signals.c196 if (0 > fcntl(sp[0], F_SETFD, FD_CLOEXEC) || 0 > fcntl(sp[1], F_SETFD, FD_CLOEXEC)) { in fpm_signals_init_main()
H A Dfpm_stdio.c298 if (0 > fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC)) { in fpm_stdio_open_error_log()
H A Dfpm_log.c60 if (0 > fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC)) { in fpm_log_open()
H A Dfastcgi.c105 if (fcntl(fd, F_SETLKW, &lock) != -1) { \
121 if (fcntl(fd, F_SETLK, &lock) != -1) { \
/PHP-5.3/ext/standard/
H A Dflock_compat.c67 ret = fcntl(fd, operation & LOCK_NB ? F_SETLK : F_SETLKW, &flck); in php_flock()
H A Dproc_open.c1009 fcntl(descriptors[i].parentend, F_SETFD, FD_CLOEXEC); in PHP_FUNCTION()
/PHP-5.3/main/
H A Dnetwork.c288 save = fcntl(sock, F_GETFL, 0); \
289 fcntl(sock, F_SETFL, save | O_NONBLOCK)
291 fcntl(sock, F_SETFL, save)
1087 flags = fcntl(socketd, F_GETFL);
1098 if (fcntl(socketd, F_SETFL, flags) == -1) {
/PHP-5.3/Zend/
H A DZend.m4313 #include <fcntl.h>
358 #include <fcntl.h>
/PHP-5.3/ext/sqlite/libsqlite/src/
H A Dos.c61 # define fcntl(A,B,C) 0 macro
1337 s = fcntl(id->fd, F_SETLK, &lock);
1448 s = fcntl(id->fd, F_SETLK, &lock);
1563 s = fcntl(id->fd, F_SETLK, &lock);
/PHP-5.3/ext/session/
H A Dmod_files.c199 if (fcntl(data->fd, F_SETFD, FD_CLOEXEC)) { in ps_files_open()
/PHP-5.3/sapi/litespeed/
H A Dlsapilib.c185 int val = fcntl( fd, F_GETFL, 0 ); in lsapi_set_nblock()
190 return fcntl( fd, F_SETFL, val | O_NONBLOCK ); in lsapi_set_nblock()
197 return fcntl( fd, F_SETFL, val &(~O_NONBLOCK) ); in lsapi_set_nblock()
1423 fcntl( fd, F_SETFD, FD_CLOEXEC ); in LSAPI_CreateListenSock2()
/PHP-5.3/sapi/fpm/
H A Dconfig.m416 AC_CHECK_HEADERS([errno.h fcntl.h stdio.h stdlib.h unistd.h sys/uio.h])
244 #include <fcntl.h>
/PHP-5.3/ext/dba/
H A Ddba.c907 int flags = fcntl(info->fd, F_SETFL); in php_dba_open()
908 fcntl(info->fd, F_SETFL, flags & ~O_APPEND); in php_dba_open()
/PHP-5.3/sapi/cgi/
H A Dfastcgi.c99 if (fcntl(fd, F_SETLKW, &lock) != -1) { \
115 if (fcntl(fd, F_SETLK, &lock) != -1) { \
/PHP-5.3/main/streams/
H A Dplain_wrapper.c564 flags = fcntl(fd, F_GETFL, 0); in php_stdiop_set_option()
571 if (-1 == fcntl(fd, F_SETFL, flags)) in php_stdiop_set_option()
/PHP-5.3/sapi/thttpd/
H A Dthttpd_patch72 -for ac_hdr in fcntl.h grp.h memory.h paths.h poll.h sys/poll.h sys/event.h osreldate.h
73 +for ac_hdr in fcntl.h grp.h memory.h paths.h poll.h sys/poll.h sys/event.h osreldate.h netinet/tcp…
84 -AC_CHECK_HEADERS(fcntl.h grp.h memory.h paths.h poll.h sys/poll.h sys/event.h osreldate.h)
85 +AC_CHECK_HEADERS(fcntl.h grp.h memory.h paths.h poll.h sys/poll.h sys/event.h osreldate.h netinet/…
214 (void) fcntl( listen_fd, F_SETFD, 1 );
707 + fcntl(hc->conn_fd, F_SETFL, O_NONBLOCK);
/PHP-5.3/
H A Dacinclude.m41212 #include <fcntl.h>
1242 #include <fcntl.h>
1418 #include <fcntl.h>
H A Dconfigure.in413 fcntl.h \
/PHP-5.3/ext/fileinfo/
H A Dlibmagic.patch42 #include <fcntl.h>
2251 - if ((flags = fcntl(fd, F_GETFL)) != -1) {
2253 - (void)fcntl(fd, F_SETFL, flags);
/PHP-5.3/ext/sockets/
H A Dsockets.c429 m = fcntl(sock->bsd_socket, F_GETFL);
/PHP-5.3/ext/pcre/pcrelib/
H A DChangeLog2499 9. On the advice of a Windows user, included <io.h> and <fcntl.h> in Windows
/PHP-5.3/ext/sqlite3/libsqlite/
H A Dsqlite3.c24813 { "fcntl", (sqlite3_syscall_ptr)fcntl, 0 },

Completed in 448 milliseconds