Lines Matching refs:dup2
3200 as_fn_append ac_func_list " dup2"
20336 gl_LIBOBJS="$gl_LIBOBJS dup2.$ac_objext"
20339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5
20340 $as_echo_n "checking whether dup2 works... " >&6; }
20346 mingw*) # on this platform, dup2 always returns 0 for success
20348 cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0
20350 linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a
20353 freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF.
20366 if (dup2 (1, 1) == 0)
20369 if (dup2 (0, 0) != -1)
20372 if (dup2 (1, 1000000) == -1 && errno != EBADF)
20408 gl_LIBOBJS="$gl_LIBOBJS dup2.$ac_objext"
20750 gl_LIBOBJS="$gl_LIBOBJS dup2.$ac_objext"