freebsd-dev/lib/libc/stdio
Jason Evans 9233c4d942 Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),
just use _foo() <-- foo().  In the case of a libpthread that doesn't do
call conversion (such as linuxthreads and our upcoming libpthread), this
is adequate.  In the case of libc_r, we still need three names, which are
now _thread_sys_foo() <-- _foo() <-- foo().

Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(),
nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo().

Remove all internal libc usage of: creat(), pause(), sleep(), system(),
tcdrain(), wait(), and waitpid().

Make thread cancellation fully POSIX-compliant.

Suggested by:	deischen
2000-01-27 23:07:25 +00:00
..
_flock_stub.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
asprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
clrerr.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fclose.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fclose.c Make __sfp() even more thread-safe. 1999-11-21 22:34:57 +00:00
fdopen.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
feof.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ferror.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ferror.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fflush.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fflush.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fgetc.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fgetln.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fgetln.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fgetpos.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fgets.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fgets.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fileno.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
findfp.c Make __sfp() (FILE allocator) thread-safe: added locking like in malloc(). 1999-11-20 14:01:48 +00:00
flags.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
floatio.h
fopen.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fopen.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
fprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fpurge.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fputc.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fputs.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fputs.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fread.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fread.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
freopen.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
fscanf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fseek.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fseek.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fsetpos.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ftell.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
funopen.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
funopen.c
fvwrite.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fvwrite.h
fwalk.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fwrite.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getc.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getc.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getchar.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
gets.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
getw.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
glue.h
local.h Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branch 1997-03-11 11:29:42 +00:00
makebuf.c
Makefile.inc $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
mktemp.3 Improve the explanation on the (in)security of mktemp(3). 2000-01-25 13:58:46 +00:00
mktemp.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
perror.c Check for a zero-length as well as a NULL string argument. 1998-10-29 14:40:20 +00:00
printf.3 We no longer care about the VAX and Tahoe compilers :-) 2000-01-17 01:28:00 +00:00
printf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
putc.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
putc.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
putchar.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
puts.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
putw.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
refill.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
remove.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
remove.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rewind.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rget.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
scanf.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
scanf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
setbuf.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
setbuf.c
setbuffer.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
setvbuf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
snprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sscanf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
stdio.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
stdio.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
tempnam.c Remove UNSAFE_WARN ifdef for mktemp warning (never defined) 1999-10-24 11:57:24 +00:00
tmpfile.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
tmpnam.3 Correct discrepancy between definition of argument to tempnam() and 2000-01-09 08:54:03 +00:00
tmpnam.c Remove UNSAFE_WARN ifdef for mktemp warning (never defined) 1999-10-24 11:57:24 +00:00
ungetc.3 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ungetc.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vasprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vfprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vfscanf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vscanf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vsnprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vsprintf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vsscanf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
wbuf.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
wsetup.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00