Hash :
4a2a66e4
Author :
Date :
2011-04-25T19:45:09
dup2: Remove check for dup2, unless supporting old obsolete platforms. * modules/dup2-obsolete: New file. * m4/dup2-obsolete.m4: New file. * m4/dup2.m4 (gl_FUNC_DUP2): Don't check whether dup2 exists if gl_FUNC_DUP2_OBSOLETE is not also defined. * modules/dup2 (Depends-on): Add dup2-obsolete. * doc/posix-functions/dup2.texi: Mention module dup2-obsolete.
Description:
dup2() function: duplicate an open file descriptor.
Files:
lib/dup2.c
m4/dup2.m4
Depends-on:
unistd
dup2-obsolete
configure.ac:
gl_FUNC_DUP2
gl_UNISTD_MODULE_INDICATOR([dup2])
Makefile.am:
Include:
<unistd.h>
License:
LGPLv2+
Maintainer:
Paul Eggert, Jim Meyering