@section @code{dup2}
@findex dup2
-POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/dup2.html}
+POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/dup2.html}
Gnulib module: dup2
This function can hang when duplicating an fd to itself on some platforms:
mingw.
+@item
+This function resets the @code{FD_CLOEXEC} flag when duplicating an fd
+to itself on some platforms:
+Haiku.
+
@item
This function returns 0 for @code{dup2 (1, 1)} on some platforms:
Cygwin 1.5.x.