freebsd-nq/lib/libc
Bill Paul 65d3c627a5 Add a CLSET_ASYNC command, which allows us to (ab)use the clnt_dg transport
to make asynchronous RPCs. This is needed to help fix ypbind, which can no
longer override the clnt_dg_call() method (formerly the clntudp_call()
method) due to all the internal descriptor locking code in TI-RPC. Turning
on this flag allows us to send an RPC request, then return immediately,
and handle a reply later, rather than being forced to do the request
and reply in a single function call.

Also fix a byte ordering bug: when clnt_dg_call() increments the XID
prior to transmitting a request, it uses the raw value, which is wrong.
The XID is stored in network byte order, i.e. big-endian. The CLSET_XID
and CLGET_XID commands in clnt_dg_control() use ntohl()/htonl() to get
the byte ordering right, but because clnt_dg_call() does not do this,
using CLSET_XID/CLGET_XID doesn't actually work, unless you're on a
big endian host, which we aren't (yet). Fix clnt_dg_call() to byte swap
properly when doing the increment.
2001-03-27 21:27:33 +00:00
..
alpha Clean up syscall generation in libc by removing HIDDEN_SYSCALLS 2001-01-29 03:23:46 +00:00
amd64 MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
compat-43 MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
db MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
gen Document LOG_CONSOLE. 2001-03-27 19:55:53 +00:00
gmon MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
i386 MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
ia64 Use relative paths to find byte_swap_*.S to make it easier to use these 2001-03-06 16:08:19 +00:00
include Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
locale MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
mips Bring in initial libc support for mips. These files were taken from 1999-03-03 07:06:17 +00:00
mipseb Fix all the mipseb Makefiles. They were broken when I checked them in 1999-04-22 07:16:11 +00:00
mipsel Fix all the mipseb Makefiles. They were broken when I checked them in 1999-04-22 07:16:11 +00:00
net MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
nls MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
posix1e MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
quad $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
regex MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
rpc Add a CLSET_ASYNC command, which allows us to (ab)use the clnt_dg transport 2001-03-27 21:27:33 +00:00
stdio MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
stdlib MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
stdtime MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
string MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
sys MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
xdr MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
yp Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
Makefile Fix the current libc breakage in current: 2001-02-16 06:11:22 +00:00
Makefile.inc Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00