Home | History | Annotate | Download | only in darwin-lib

Lines Matching refs:newfd

649 /* Copy the file descriptor OLDFD into file descriptor NEWFD.  Do nothing if
650 NEWFD = OLDFD, otherwise close NEWFD first if it is open.
651 Return newfd if successful, otherwise -1 and errno set.
658 _GL_FUNCDECL_RPL (dup2, int, (int oldfd, int newfd));
659 _GL_CXXALIAS_RPL (dup2, int, (int oldfd, int newfd));
662 _GL_FUNCDECL_SYS (dup2, int, (int oldfd, int newfd));
664 _GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd));
677 /* Copy the file descriptor OLDFD into file descriptor NEWFD, with the
681 Close NEWFD first if it is open.
682 Return newfd if successful, otherwise -1 and errno set.
689 _GL_FUNCDECL_RPL (dup3, int, (int oldfd, int newfd, int flags));
690 _GL_CXXALIAS_RPL (dup3, int, (int oldfd, int newfd, int flags));
692 _GL_FUNCDECL_SYS (dup3, int, (int oldfd, int newfd, int flags));
693 _GL_CXXALIAS_SYS (dup3, int, (int oldfd, int newfd, int flags));
791 _GL_EXTERN_C int _gl_register_dup (int oldfd, int newfd);