dup2: fix more mingw problems
[gnulib.git] / doc / posix-functions / dup2.texi
1 @node dup2
2 @section @code{dup2}
3 @findex dup2
4
5 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/dup2.html}
6
7 Gnulib module: dup2
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function always returns 0 for success on some platforms:
13 mingw.
14
15 @item
16 This function can hang when duplicating an fd to itself on some platforms:
17 mingw.
18
19 @item
20 This function returns 0 for dup2 (1, 1) on some platforms:
21 Cygwin 1.5.x.
22
23 @item
24 This function is missing on some older platforms.
25 @end itemize
26
27 Portability problems not fixed by Gnulib:
28 @itemize
29 @end itemize