antoine 2008-03-08 22:02:21 UTC FreeBSD src repository
Modified files: lib/libc/sys fcntl.2 sys/kern kern_descrip.c sys/sys fcntl.h tools/regression/file/dup dup.c Log: 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 Revision Changes Path 1.46 +37 -1 src/lib/libc/sys/fcntl.2 1.325 +6 -1 src/sys/kern/kern_descrip.c 1.18 +1 -0 src/sys/sys/fcntl.h 1.3 +71 -2 src/tools/regression/file/dup/dup.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"