From f547068f88348f54941dc06da46491f99701933e Mon Sep 17 00:00:00 2001 From: David Leonard Date: Fri, 20 Nov 1998 11:19:02 +0000 Subject: Add thread-safety to libc, so that libc_r will build (on i386 at least). All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO --- share/man/man3/intro.3 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'share/man') diff --git a/share/man/man3/intro.3 b/share/man/man3/intro.3 index 0da783993ce..538762eec78 100644 --- a/share/man/man3/intro.3 +++ b/share/man/man3/intro.3 @@ -77,6 +77,12 @@ string operators, character tests and character operators, des encryption routines, storage allocation, time functions, signal handling and more. +.It Xr libc_r Pq Fl l Ns Ar c_r +Reentrant C library. Contains POSIX 1003.1c +.Xr pthreads 3 +API, thread scheduler, and thread-safe variants of all functions +found in +.Xr libc . .It Xo .Xr libcurses .Pf ( Fl l Ns Ar curses @@ -149,7 +155,8 @@ the math library compiled for profiling .Xr intro 2 , .Xr cc 1 , .Xr ld 1 , -.Xr nm 1 +.Xr nm 1 , +.Xr pthreads 3 .\" .Sh LIST OF FUNCTIONS .\" .Bl -column "strncasecmpxxx" "system" .\" .Sy Name Description -- cgit v1.2.3