Do the Windows oldnames workaround through the C++ GNULIB_NAMESPACE.
[gnulib.git] / modules / dup2
blob70a28ded6925f33f4fe50c565b09acde33610968
1 Description:
2 dup2() function: duplicate an open file descriptor.
4 Files:
5 lib/dup2.c
6 m4/dup2.m4
8 Depends-on:
9 unistd
10 msvc-inval      [test $REPLACE_DUP2 = 1]
11 msvc-nothrow    [test $REPLACE_DUP2 = 1]
13 configure.ac:
14 gl_FUNC_DUP2
15 if test $REPLACE_DUP2 = 1; then
16   AC_LIBOBJ([dup2])
17   gl_PREREQ_DUP2
19 gl_UNISTD_MODULE_INDICATOR([dup2])
21 Makefile.am:
23 Include:
24 <unistd.h>
26 License:
27 LGPLv2+
29 Maintainer:
30 Paul Eggert, Jim Meyering