freebsd-skq/lib/libc
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
..
amd64 Add an alternative view of the bits in an 80-bit long double (64+16 2008-01-17 16:39:07 +00:00
arm Arrange so that the NaN returned by strtod("nan", NULL) is the same as 2007-12-16 21:15:09 +00:00
compat-43 Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
db getopt(3) returns -1, not EOF. 2008-02-18 03:19:25 +00:00
gdtoa Export gdtoa's __ULto{x,Q}_D2A routine in a private namespace so 2007-12-16 21:15:57 +00:00
gen stdio is currently limited to file descriptors not greater than 2008-02-27 05:56:57 +00:00
gmon Remove .mcount from gmon's Symbol map and add it to the appropriate 2007-05-13 14:16:55 +00:00
i386 Add an alternative view of the bits in an 80-bit long double (64+16 2008-01-17 16:39:07 +00:00
ia64 Add an alternative view of the bits in an 80-bit long double (64+16 2008-01-17 16:39:07 +00:00
include Add pthread_mutex_isowned_np() so there is no need for an additional 2008-02-06 20:42:35 +00:00
inet Fix issues which allow snooping on ptys. [08:01] 2008-01-14 22:56:05 +00:00
isc Merge BIND 9.4.1 into main chunk. 2007-06-03 17:20:27 +00:00
locale Fix longstanding mb/wc functions segfault if error occurse 2008-01-23 03:05:35 +00:00
nameser This commit was generated by cvs2svn to compensate for changes in r174223, 2007-12-03 15:07:58 +00:00
net Remove incomplete support of AI_ALL and AI_V4MAPPED. 2008-02-03 19:07:55 +00:00
nls Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
posix1e Add __FBSDID() tags. 2008-03-07 15:25:56 +00:00
powerpc Let PowerPC world optionally build with -msoft-float. For FPU-less PowerPC 2008-02-24 19:22:53 +00:00
quad Fix a typo that prevented the quad symbols from being exported 2007-07-06 13:42:24 +00:00
regex getopt(3) returns -1, not EOF. 2008-02-18 03:19:25 +00:00
resolv Allow underscore in domain names while resolving. While having underscore 2008-02-16 00:16:49 +00:00
rpc Use intermediate pointers to avoid strict alias type check failures 2007-11-20 01:51:20 +00:00
softfloat Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
sparc64 Add a new union member to access the exponent and sign of a long double 2008-01-18 21:25:51 +00:00
stdio Add <limits.h> for SHRT_MAX. 2008-02-27 21:25:19 +00:00
stdlib Remove stale #include <machine/atomic.h>, which as needed by lazy 2008-03-07 16:54:03 +00:00
stdtime Reduce lock contention for simple cases. 2007-12-19 04:30:10 +00:00
string Remove license clause 3 to agree with the now-standard BSD license. 2007-12-12 18:33:06 +00:00
sys Introduce a new F_DUP2FD command to fcntl(2), for compatibility with 2008-03-08 22:02:21 +00:00
uuid Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
xdr Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
yp Set timeout for all NIS RPC requests to 1 second and not just for 2007-07-24 13:06:08 +00:00
Makefile Fixed "make checkdpadd" (missing library dependencies). 2007-10-01 18:15:11 +00:00
Versions.def Increment the version namespace for 8.0-current. New symbols and 2007-12-14 20:49:06 +00:00