antoine 514f31f40e Introduce a new F_DUP2FD command to fcntl(2), for compatibility with
Solaris and AIX.
fcntl(fd, F_DUP2FD, arg) and dup2(fd, arg) are functionnaly equivalent.
Document it.
Add some regression tests (identical to the dup2(2) regression tests).

PR:		120233
Submitted by:	Jukka Ukkonen
Approved by:	rwaston (mentor)
MFC after:	1 month
2008-03-08 22:02:21 +00:00
..
2008-03-02 07:41:10 +00:00
2007-11-15 14:16:20 +00:00
2008-03-07 15:27:08 +00:00
2008-02-17 02:46:54 +00:00
2007-12-17 08:09:37 +00:00
2007-04-23 12:53:00 +00:00
2007-12-14 21:30:51 +00:00
2008-03-02 07:41:10 +00:00
2008-03-02 07:41:10 +00:00
2008-02-04 12:25:13 +00:00
2008-02-04 12:25:13 +00:00