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/zip/lib/
H A Dzip_fdopen.c59 /* We dup() here to avoid messing with the passed in fd.
62 if ((fd=dup(fd_orig)) < 0) {
H A Dzipint.h43 /* for dup(), close(), etc. */
71 #define dup _dup macro
/PHP_TRUNK/ext/standard/
H A Dproc_open.c524 /* should be a stream - try and dup the descriptor */
537 php_error_docref(NULL, E_WARNING, "unable to dup File-Handle for descriptor %d", nindex);
541 descriptors[ndesc].childend = dup(fd);
543 php_error_docref(NULL, E_WARNING, "unable to dup File-Handle for descriptor %pd - %s", nindex, strerror(errno));
660 descriptors[ndesc].childend = dup(slave_pty);
661 descriptors[ndesc].parentend = dup(dev_ptmx);
823 * dup new descriptors into required descriptors and close the original
H A Dphp_fopen_wrapper.c252 fd = dup(fd);
258 fd = dup(STDIN_FILENO);
265 fd = dup(fd);
271 fd = dup(STDOUT_FILENO);
278 fd = dup(fd);
284 fd = dup(STDERR_FILENO);
326 fd = dup((int)fildes_ori);
378 /* failed to dup */
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c1241 fd = dup( fd );
/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]);

Completed in 48 milliseconds