-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Bruno Haible on 8/22/2009 5:59 AM: > I therefore think that instead of offering the POSIXy fcntl call, > gnulib should offer functions like dup, dup2, dup_safer, fd_safer, > that take a flags argument as additional parameter. > int dup_ex (int fd, int flags); > int dup2_ex (int oldfd, int newfd, int flags);
What's the difference between dup2_ex and dup3, other than the set of valid flags accepted? - -- Don't work too hard, make some time for fun as well! Eric Blake [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqQTBwACgkQ84KuGfSFAYDHkQCg1VZVqhNCDXru5xT56eAp7WHG XTYAn2p+ndaLqcQEc5iFCR1a/lsoapow =E6O3 -----END PGP SIGNATURE-----
