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

/PHP_TRUNK/
H A Dltmain.sh539 --preserve-dup-deps) duplicate_deps="yes" ;;
/PHP_TRUNK/ext/zip/lib/
H A Dzip_fdopen.c61 /* We dup() here to avoid messing with the passed in fd.
64 if ((fd=dup(fd_orig)) < 0) {
H A Dzipint.h43 /* for dup(), close(), etc. */
71 #define dup _dup macro
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c1231 fd = dup( fd );
/PHP_TRUNK/Zend/
H A Dzend_builtin_functions.c756 int dup; local
771 dup = zend_get_object_classname(obj, &name, &name_len TSRMLS_CC);
773 RETURN_STRINGL(name, name_len, dup);
2134 int dup; local
2136 dup = zend_get_object_classname(ptr->object, &class_name, &class_name_len TSRMLS_CC);
2137 if(!dup) {
2324 int dup; local
2326 dup = zend_get_object_classname(ptr->object, &class_name, &class_name_len TSRMLS_CC);
2327 add_assoc_string_ex(stack_frame, "class", sizeof("class"), (char*)class_name, dup);
/PHP_TRUNK/ext/standard/
H A Dphp_fopen_wrapper.c251 fd = dup(fd);
257 fd = dup(STDIN_FILENO);
264 fd = dup(fd);
270 fd = dup(STDOUT_FILENO);
277 fd = dup(fd);
283 fd = dup(STDERR_FILENO);
325 fd = dup(fildes_ori);
376 /* failed to dup */
H A Dproc_open.c558 /* should be a stream - try and dup the descriptor */
571 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to dup File-Handle for descriptor %d", nindex);
575 descriptors[ndesc].childend = dup(fd);
577 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to dup File-Handle for descriptor %ld - %s", nindex, strerror(errno));
694 descriptors[ndesc].childend = dup(slave_pty);
695 descriptors[ndesc].parentend = dup(dev_ptmx);
858 * dup new descriptors into required descriptors and close the original
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dcompress.c299 file_error(ms, errno, "could not dup descriptor for temp file");
408 (void) dup(fd);
411 (void) dup(fdin[0]);
417 (void) dup(fdout[1]);
/PHP_TRUNK/ext/zlib/
H A Dzlib_fopen_wrapper.c139 self->gz_file = gzdopen(dup(fd), mode);

Completed in 25 milliseconds