Home
last modified time | relevance | path

Searched refs:STDIN_FILENO (Results 1 – 11 of 11) sorted by relevance

/PHP-8.1/ext/fileinfo/libmagic/
H A Dcompress.c391 if (fd == STDIN_FILENO) in sread()
867 closep(fdp[STDIN_FILENO]); in uncompressbuf()
889 if (copydesc(STDIN_FILENO, fd)) in uncompressbuf()
892 if (copydesc(STDIN_FILENO, fdp[STDIN_FILENO][0])) in uncompressbuf()
893 (void) close(fdp[STDIN_FILENO][0]); in uncompressbuf()
894 if (fdp[STDIN_FILENO][1] > 2) in uncompressbuf()
895 (void) close(fdp[STDIN_FILENO][1]); in uncompressbuf()
897 file_clear_closexec(STDIN_FILENO); in uncompressbuf()
924 closefd(fdp[STDIN_FILENO], 0); in uncompressbuf()
926 closefd(fdp[STDIN_FILENO], 1); in uncompressbuf()
[all …]
H A Dmagic.c81 #ifndef STDIN_FILENO
82 #define STDIN_FILENO 0 macro
/PHP-8.1/ext/standard/
H A Dphp_fopen_wrapper.c247 fd = STDIN_FILENO; in php_stream_url_wrap_php()
255 fd = dup(STDIN_FILENO); in php_stream_url_wrap_php()
/PHP-8.1/win32/build/
H A Dconfig.w32.h.in36 #define STDIN_FILENO 0 macro
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_utils.c392 fcntl(STDIN_FILENO, F_SETOWN, getpid()); in phpdbg_set_async_io()
393 flags = fcntl(STDIN_FILENO, F_GETFL); in phpdbg_set_async_io()
394 fcntl(STDIN_FILENO, F_SETFL, flags | FASYNC); in phpdbg_set_async_io()
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_stdio.c36 if (0 > dup2(fd, STDIN_FILENO) || 0 > dup2(fd, STDOUT_FILENO)) { in fpm_stdio_init_main()
H A Dfpm_main.c411 #ifndef STDIN_FILENO
412 # define STDIN_FILENO 0 macro
/PHP-8.1/sapi/fpm/
H A Dconfig.m4374 /* 0 -> STDIN_FILENO */
480 /* 0 -> STDIN_FILENO */
/PHP-8.1/sapi/cgi/
H A Dcgi_main.c470 #ifndef STDIN_FILENO
471 # define STDIN_FILENO 0 macro
490 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, to_read); in sapi_cgi_read_post()
492 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()
/PHP-8.1/ext/fileinfo/
H A Dlibmagic.patch2443 #ifndef STDIN_FILENO
2444 #define STDIN_FILENO 0
2656 - if (fd == STDIN_FILENO || name == NULL)
2701 - return file_or_fd(ms, inname, STDIN_FILENO);
2744 - if (fd == STDIN_FILENO)
2745 - _setmode(STDIN_FILENO, O_BINARY);
2831 - if (inname == NULL && fd != STDIN_FILENO)
/PHP-8.1/sapi/litespeed/
H A Dlsapilib.c1527 if ( fd == STDIN_FILENO ) in LSAPI_InitRequest()
1531 dup2( newfd, STDIN_FILENO ); in LSAPI_InitRequest()

Completed in 68 milliseconds