opnsense-src/tools/regression/file/dup
Antoine Brodin e3ad7f6626 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
..
dup.c Introduce a new F_DUP2FD command to fcntl(2), for compatibility with 2008-03-08 22:02:21 +00:00
dup.t o Add several regression tests for dup(2), dup2(2) and fcntl(F_DUPFD). 2006-11-11 18:32:50 +00:00
Makefile o Add several regression tests for dup(2), dup2(2) and fcntl(F_DUPFD). 2006-11-11 18:32:50 +00:00