Searched refs:dup (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/
H A Dltmain.sh539 --preserve-dup-deps) duplicate_deps="yes" ;;
/PHP_TRUNK/ext/zlib/
H A Dzlib_fopen_wrapper.c141 self->gz_file = gzdopen(dup(fd), mode);
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dcompress.c310 file_error(ms, errno, "could not dup descriptor for temp file");
419 (void) dup(fd);
422 (void) dup(fdin[0]);
428 (void) dup(fdout[1]);
/PHP_TRUNK/ext/zip/lib/
H A Dzip_fdopen.c52 /* We dup() here to avoid messing with the passed in fd.
55 if ((fd=dup(fd_orig)) < 0) {
H A Dzipint.h49 /* for dup(), close(), etc. */
73 #define dup _dup macro
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c1241 fd = dup( fd );
/PHP_TRUNK/ext/standard/
H A Dphp_fopen_wrapper.c255 fd = dup(fd);
261 fd = dup(STDIN_FILENO);
271 fd = dup(fd);
277 fd = dup(STDOUT_FILENO);
287 fd = dup(fd);
293 fd = dup(STDERR_FILENO);
338 fd = dup((int)fildes_ori);
390 /* failed to dup */
H A Dproc_open.c538 /* should be a stream - try and dup the descriptor */
551 php_error_docref(NULL, E_WARNING, "unable to dup File-Handle for descriptor %d", nindex);
555 descriptors[ndesc].childend = dup(fd);
557 php_error_docref(NULL, E_WARNING, "unable to dup File-Handle for descriptor %pd - %s", nindex, strerror(errno));
674 descriptors[ndesc].childend = dup(slave_pty);
675 descriptors[ndesc].parentend = dup(dev_ptmx);
835 * dup new descriptors into required descriptors and close the original

Completed in 33 milliseconds