freebsd-skq/lib/libc
Daniel Eischen 29ac6bd228 libc MT-safety, part 2.
Add a lock to FILE.  flockfile and friends are now implemented
(for the most part) in libc.  flockfile_debug is implemented in
libc_r; I suppose it's about time to kill it but will do it in
a future commit.

Fix a potential deadlock in _fwalk in a threaded environment.
A file flag (__SIGN) was added to stdio.h that, when set, tells
_fwalk to ignore it in its walk.  This seemed to be needed in
refill.c because each file needs to be locked when flushing.

Add a stub for pthread_self in libc.  This is needed by flockfile
which is allowed by POSIX to be recursive.

Make fgetpos() error return value (-1) match man page.

Remove recursive calls to locked functions (stdio); I think I've
got them all, but I may have missed a couple.

A few K&R -> ANSI conversions along with removal of a few instances
of "register".

$Id$ -> $FreeBSD$ in libc/stdio/rget.c

Not objected to:	-arch, a few months ago
2001-02-11 22:06:43 +00:00
..
alpha Clean up syscall generation in libc by removing HIDDEN_SYSCALLS 2001-01-29 03:23:46 +00:00
amd64 Clean up syscall generation in libc by removing HIDDEN_SYSCALLS 2001-01-29 03:23:46 +00:00
compat-43 Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
db Add a man page for the dbm_* functions, and update the Makefile to link 2001-02-11 17:24:25 +00:00
gen libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
gmon Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
i386 Clean up syscall generation in libc by removing HIDDEN_SYSCALLS 2001-01-29 03:23:46 +00:00
ia64 Clean up syscall generation in libc by removing HIDDEN_SYSCALLS 2001-01-29 03:23:46 +00:00
include libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
locale Don't use hardcoded struct size, use offsetof() instead (make size calculations 2001-02-11 15:09:31 +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 mdoc(7) police: polishing. 2001-02-10 10:51:39 +00:00
nls Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
posix1e Fix typo: seperate -> separate. 2001-02-06 10:39:38 +00:00
quad $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
regex mdoc(7) police: fixed the weird construct. 2001-02-09 09:08:53 +00:00
rpc mdoc(7) police: C types should be declared with either .Ft or .Vt. 2001-02-08 10:22:35 +00:00
stdio libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
stdlib Include mmap(2) in the list of memory allocation functions. 2001-02-11 19:28:36 +00:00
stdtime Hardcode c_fmt in a different way since used in nl_langinfo now 2001-02-08 20:55:38 +00:00
string mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
sys Mention PROT_NONE in the list of possible protections. 2001-02-11 19:30:41 +00:00
xdr mdoc(7) police: print #ifdef/#endif literally, 2001-02-08 10:40:42 +00:00
yp Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
Makefile Clean up syscall generation in libc by removing HIDDEN_SYSCALLS 2001-01-29 03:23:46 +00:00
Makefile.inc Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00