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

/PHP_5_5/ext/zip/lib/
H A Dzip_fdopen.c48 /* We dup() here to avoid messing with the passed in fd.
51 if ((fd=dup(fd_orig)) < 0) {
/PHP_5_5/
H A Dltmain.sh539 --preserve-dup-deps) duplicate_deps="yes" ;;
/PHP_5_5/ext/fileinfo/libmagic/
H A Dcompress.c300 file_error(ms, errno, "could not dup descriptor for temp file");
409 (void) dup(fd);
412 (void) dup(fdin[0]);
418 (void) dup(fdout[1]);
/PHP_5_5/ext/standard/
H A Dphp_fopen_wrapper.c226 fd = dup(fd);
232 fd = dup(STDIN_FILENO);
239 fd = dup(fd);
245 fd = dup(STDOUT_FILENO);
252 fd = dup(fd);
258 fd = dup(STDERR_FILENO);
300 fd = dup(fildes_ori);
351 /* failed to dup */
H A Dproc_open.c557 /* should be a stream - try and dup the descriptor */
570 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to dup File-Handle for descriptor %d", nindex);
574 descriptors[ndesc].childend = dup(fd);
576 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to dup File-Handle for descriptor %ld - %s", nindex, strerror(errno));
693 descriptors[ndesc].childend = dup(slave_pty);
694 descriptors[ndesc].parentend = dup(dev_ptmx);
857 * dup new descriptors into required descriptors and close the original
/PHP_5_5/ext/zlib/
H A Dzlib_fopen_wrapper.c137 self->gz_file = gzdopen(dup(fd), mode);
/PHP_5_5/Zend/
H A Dzend_builtin_functions.c753 int dup; local
768 dup = zend_get_object_classname(obj, &name, &name_len TSRMLS_CC);
770 RETURN_STRINGL(name, name_len, dup);
2124 int dup; local
2126 dup = zend_get_object_classname(ptr->object, &class_name, &class_name_len TSRMLS_CC);
2127 if(!dup) {
2314 int dup; local
2316 dup = zend_get_object_classname(ptr->object, &class_name, &class_name_len TSRMLS_CC);
2317 add_assoc_string_ex(stack_frame, "class", sizeof("class"), (char*)class_name, dup);
/PHP_5_5/sapi/litespeed/
H A Dlsapilib.c1241 fd = dup( fd );

Completed in 38 milliseconds