Home | History | Annotate | Download | only in lib

Lines Matching refs:newfd

337 /* Copy the file descriptor OLDFD into file descriptor NEWFD.  Do nothing if
338 NEWFD = OLDFD, otherwise close NEWFD first if it is open.
339 Return newfd if successful, otherwise -1 and errno set.
346 _GL_FUNCDECL_RPL (dup2, int, (int oldfd, int newfd));
347 _GL_CXXALIAS_RPL (dup2, int, (int oldfd, int newfd));
350 _GL_FUNCDECL_SYS (dup2, int, (int oldfd, int newfd));
352 _GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd));
365 /* Copy the file descriptor OLDFD into file descriptor NEWFD, with the
369 Close NEWFD first if it is open.
370 Return newfd if successful, otherwise -1 and errno set.
377 _GL_FUNCDECL_RPL (dup3, int, (int oldfd, int newfd, int flags));
378 _GL_CXXALIAS_RPL (dup3, int, (int oldfd, int newfd, int flags));
380 _GL_FUNCDECL_SYS (dup3, int, (int oldfd, int newfd, int flags));
381 _GL_CXXALIAS_SYS (dup3, int, (int oldfd, int newfd, int flags));
479 _GL_EXTERN_C int _gl_register_dup (int oldfd, int newfd);