summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/ftok.34
-rw-r--r--lib/libc/gen/getvfsent.34
-rw-r--r--lib/libc/stdlib/malloc.36
-rw-r--r--lib/libc/string/strtok.311
-rw-r--r--lib/libc/sys/aio_cancel.210
-rw-r--r--lib/libc/sys/aio_error.214
-rw-r--r--lib/libc/sys/aio_read.24
-rw-r--r--lib/libc/sys/aio_return.212
-rw-r--r--lib/libc/sys/aio_suspend.210
-rw-r--r--lib/libc/sys/aio_write.24
-rw-r--r--lib/libc/sys/execve.28
-rw-r--r--lib/libc/sys/jail.211
-rw-r--r--lib/libc/sys/sendfile.213
13 files changed, 58 insertions, 53 deletions
diff --git a/lib/libc/gen/ftok.3 b/lib/libc/gen/ftok.3
index b0a8a2324c20..dc67fb81a976 100644
--- a/lib/libc/gen/ftok.3
+++ b/lib/libc/gen/ftok.3
@@ -23,10 +23,10 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: ftok.3,v 1.9 1998/03/19 07:33:54 charnier Exp $
+.\" $Id: ftok.3,v 1.10 1998/06/10 04:24:18 jdp Exp $
.Dd June 24, 1994
.Os
-.Dt ftok 3
+.Dt FTOK 3
.Sh NAME
.Nm ftok
.Nd create IPC identifier from path name
diff --git a/lib/libc/gen/getvfsent.3 b/lib/libc/gen/getvfsent.3
index 37b3fede596d..c0e5934e65f8 100644
--- a/lib/libc/gen/getvfsent.3
+++ b/lib/libc/gen/getvfsent.3
@@ -1,4 +1,4 @@
-.\" $Id: getvfsent.3,v 1.14 1998/05/30 18:20:37 steve Exp $
+.\" $Id: getvfsent.3,v 1.15 1999/04/20 20:36:36 ghelmer Exp $
.\" Written by Garrett A. Wollman, September 1994.
.\" This manual page is in the public domain.
.\"
@@ -148,8 +148,8 @@ fails,
may be set to one of the values documented for
.Xr kldload 2 .
.Sh SEE ALSO
-.Xr mount 2 ,
.Xr kldload 2 ,
+.Xr mount 2 ,
.Xr mount 8
.Sh AUTHORS
The loadable filesystem support was written by
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index 40eed263292c..e0f60bdca146 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -34,7 +34,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)malloc.3 8.1 (Berkeley) 6/4/93
-.\" $Id: malloc.3,v 1.18 1999/03/28 14:16:04 phk Exp $
+.\" $Id: malloc.3,v 1.19 1999/08/14 07:33:15 chris Exp $
.\"
.Dd August 27, 1996
.Dt MALLOC 3
@@ -274,7 +274,7 @@ is still available and intact.
The
.Fn free
function returns no value.
-.Sh "DEBUGGING MALLOC PROBLEMS"
+.Sh DEBUGGING MALLOC PROBLEMS
.Pp
The major difference between this implementation and other allocation
implementations is that the free pages are not accessed unless allocated,
@@ -333,7 +333,7 @@ would be prohibitive.
There are a number of allocation implementations available on the 'Net
which focus on detecting and pinpointing problems by trading performance
for extra sanity checks and detailed diagnostics.
-.Sh "DIAGNOSTIC MESSAGES
+.Sh DIAGNOSTIC MESSAGES
If
.Fn malloc ,
.Fn calloc ,
diff --git a/lib/libc/string/strtok.3 b/lib/libc/string/strtok.3
index d6fa5ceac9ef..1c6ee8b04e0a 100644
--- a/lib/libc/string/strtok.3
+++ b/lib/libc/string/strtok.3
@@ -48,7 +48,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)strtok.3 8.2 (Berkeley) 2/3/94
-.\" $Id$
+.\" $Id: strtok.3,v 1.6 1999/07/12 20:48:13 nik Exp $
.\"
.Dd November 27, 1998
.Dt STRTOK 3
@@ -161,8 +161,9 @@ value.
Since this implementation always alters the next starting point,
such a sequence of calls would always return
.Dv NULL .
-.Sh AUTHOR
-Wes Peters, Softweyr LLC:
-.Xr <wes@softweyr.com>
+.Sh AUTHORS
+.An Wes Peters, Softweyr LLC: Aq wes@softweyr.com
.br
-Based on the FreeBSD 3.0 implementation.
+Based on the
+.Fx 3.0
+implementation.
diff --git a/lib/libc/sys/aio_cancel.2 b/lib/libc/sys/aio_cancel.2
index 6811dbcd10ac..5adbdb8e949c 100644
--- a/lib/libc/sys/aio_cancel.2
+++ b/lib/libc/sys/aio_cancel.2
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: aio_cancel.2,v 1.2 1999/07/01 21:09:55 mpp Exp $
+.\" $Id: aio_cancel.2,v 1.3 1999/07/01 21:13:06 mpp Exp $
.\"
.Dd June 2, 1999
.Dt AIO_CANCEL 2
@@ -49,11 +49,11 @@ inevitably fails, it returns
.Dv ENOSYS
to signify it is not supported.
.Sh SEE ALSO
-.Xr aio_read 2 ,
-.Xr aio_write 2 ,
.Xr aio_error 2 ,
+.Xr aio_read 2 ,
.Xr aio_return 2 ,
-.Xr aio_suspend 2 .
+.Xr aio_suspend 2 ,
+.Xr aio_write 2 .
.Sh ERRORS
The
.Fn aio_cancel
@@ -72,7 +72,7 @@ The
.Nm
function first appeared in
.Fx 3.0 .
-.Sh AUTHOR
+.Sh AUTHORS
This
manual page was written by
.An Wes Peters Aq wes@softweyr.com .
diff --git a/lib/libc/sys/aio_error.2 b/lib/libc/sys/aio_error.2
index 954c559cf0cc..cedc5d9ec9f9 100644
--- a/lib/libc/sys/aio_error.2
+++ b/lib/libc/sys/aio_error.2
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: aio_error.2,v 1.2 1999/07/01 21:09:55 mpp Exp $
+.\" $Id: aio_error.2,v 1.3 1999/07/01 21:13:06 mpp Exp $
.\"
.Dd June 2, 1999
.Dt AIO_ERROR 2
@@ -69,14 +69,14 @@ function will fail if:
does not reference an outstanding asynchronous I/O request.
.El
.Sh SEE ALSO
-.Xr aio_return 2 ,
-.Xr aio_read 2 ,
-.Xr aio_write 2 ,
.Xr aio_cancel 2 ,
+.Xr aio_read 2 ,
+.Xr aio_return 2 ,
.Xr aio_suspend 2 ,
+.Xr aio_write 2 ,
+.Xr fsync 2 ,
.Xr read 2 ,
-.Xr write 2 ,
-.Xr fsync 2 .
+.Xr write 2 .
.Sh STANDARDS
.Fn aio_error
is expected to conform to the
@@ -87,7 +87,7 @@ The
.Nm
function first appeared in
.Fx 3.0 .
-.Sh AUTHOR
+.Sh AUTHORS
This
manual page was written by
.An Wes Peters Aq wes@softweyr.com .
diff --git a/lib/libc/sys/aio_read.2 b/lib/libc/sys/aio_read.2
index f5e19e1ee80e..89b78a167229 100644
--- a/lib/libc/sys/aio_read.2
+++ b/lib/libc/sys/aio_read.2
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: aio_read.2,v 1.3 1999/07/01 19:58:10 wes Exp $
+.\" $Id: aio_read.2,v 1.4 1999/07/01 21:09:56 mpp Exp $
.\"
.Dd November 17, 1998
.Dt AIO_READ 2
@@ -188,7 +188,7 @@ The
.Nm
function first appeared in
.Fx 3.0 .
-.Sh AUTHOR
+.Sh AUTHORS
This
manual page was written by
.An Terry Lambert Aq terry@whistle.com .
diff --git a/lib/libc/sys/aio_return.2 b/lib/libc/sys/aio_return.2
index 430ca21652a4..804452f9c3e6 100644
--- a/lib/libc/sys/aio_return.2
+++ b/lib/libc/sys/aio_return.2
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: aio_return.2,v 1.2 1999/07/01 21:09:56 mpp Exp $
+.\" $Id: aio_return.2,v 1.3 1999/07/01 21:13:06 mpp Exp $
.\"
.Dd June 2, 1999
.Dt AIO_RETURN 2
@@ -62,14 +62,14 @@ and sets
.Dv errno
to indicate the error condition.
.Sh SEE ALSO
+.Xr aio_cancel 2 ,
.Xr aio_error 2 ,
.Xr aio_read 2 ,
-.Xr aio_write 2 ,
-.Xr aio_cancel 2 ,
.Xr aio_suspend 2 ,
+.Xr aio_write 2 ,
+.Xr fsync 2 ,
.Xr read 2 ,
-.Xr write 2 ,
-.Xr fsync 2 .
+.Xr write 2 .
.Sh ERRORS
The
.Fn aio_return
@@ -89,7 +89,7 @@ The
.Nm
function first appeared in
.Fx 3.0 .
-.Sh AUTHOR
+.Sh AUTHORS
This
manual page was written by
.An Wes Peters Aq wes@softweyr.com .
diff --git a/lib/libc/sys/aio_suspend.2 b/lib/libc/sys/aio_suspend.2
index 81a8d29153c1..5df78b4d8047 100644
--- a/lib/libc/sys/aio_suspend.2
+++ b/lib/libc/sys/aio_suspend.2
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: aio_suspend.2,v 1.2 1999/07/01 21:09:57 mpp Exp $
+.\" $Id: aio_suspend.2,v 1.3 1999/07/01 21:13:06 mpp Exp $
.\"
.Dd June 2, 1999
.Dt AIO_SUSPEND 2
@@ -56,11 +56,11 @@ expired,
is returned. Other return values indicate an error condition as
detailed below.
.Sh SEE ALSO
+.Xr aio_cancel 2 ,
.Xr aio_error 2 ,
.Xr aio_read 2 ,
-.Xr aio_write 2 ,
-.Xr aio_cancel 2 ,
-.Xr aio_suspend 2.
+.Xr aio_suspend 2 ,
+.Xr aio_write 2 .
.Sh ERRORS
The
.Fn aio_suspend
@@ -84,7 +84,7 @@ The
.Nm
function first appeared in
.Fx 3.0 .
-.Sh AUTHOR
+.Sh AUTHORS
This
manual page was written by
.An Wes Peters Aq wes@softweyr.com .
diff --git a/lib/libc/sys/aio_write.2 b/lib/libc/sys/aio_write.2
index b44a1cb75f9e..04ecf201e85a 100644
--- a/lib/libc/sys/aio_write.2
+++ b/lib/libc/sys/aio_write.2
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: aio_write.2,v 1.1 1999/07/01 19:58:12 wes Exp $
+.\" $Id: aio_write.2,v 1.2 1999/07/01 21:09:57 mpp Exp $
.\"
.Dd June 2, 1999
.Dt AIO_WRITE 2
@@ -181,7 +181,7 @@ The
.Nm
Function first appeared in
.Fx 3.0 .
-.Sh AUTHOR
+.Sh AUTHORS
This manual page was written by
.An Wes Peters Aq wes@softweyr.com .
.Sh BUGS
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index 8e3167e3e3ff..2fedc264e4a7 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)execve.2 8.5 (Berkeley) 6/1/94
-.\" $Id: execve.2,v 1.12 1999/04/27 03:56:10 hoek Exp $
+.\" $Id: execve.2,v 1.13 1999/08/14 06:17:24 chris Exp $
.\"
.Dd June 1, 1994
.Dt EXECVE 2
@@ -273,14 +273,14 @@ the real
is ``root'', then the program has some of the powers
of a super-user as well.
.Sh SEE ALSO
+.Xr ktrace 1 ,
.Xr _exit 2 ,
.Xr fork 2 ,
.Xr execl 3 ,
.Xr exit 3 ,
.Xr sysctl 3 ,
-.Xr mount 8 ,
-.Xr ktrace 1 ,
-.Xr environ 7
+.Xr environ 7 ,
+.Xr mount 8
.Sh HISTORY
The
.Fn execve
diff --git a/lib/libc/sys/jail.2 b/lib/libc/sys/jail.2
index 693bbcc74ed3..bba076b1c070 100644
--- a/lib/libc/sys/jail.2
+++ b/lib/libc/sys/jail.2
@@ -6,7 +6,7 @@
.\"this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
.\"----------------------------------------------------------------------------
.\"
-.\"$Id: jail.2,v 1.3 1999/06/17 23:43:35 green Exp $
+.\"$Id: jail.2,v 1.4 1999/07/09 21:35:37 phk Exp $
.\"
.\"
.Dd April 28, 1999
@@ -78,15 +78,16 @@ Please consult the
.Xr chroot 2
manual page for details.
.Sh SEE ALSO
-.Xr chroot 2 ,
-.Xr chdir 2
+.Xr chdir 2 ,
+.Xr chroot 2
.Sh HISTORY
The
.Fn jail
function call appeared in
.Fx 4.0 .
.Pp
-The jail feature was written by Poul-Henning Kamp for
-R&D Associates
+The jail feature was written by
+.An Poul-Henning Kamp
+for R&D Associates
.Dq Li http://www.rndassociates.com/
who contributed it to FreeBSD.
diff --git a/lib/libc/sys/sendfile.2 b/lib/libc/sys/sendfile.2
index 9dc626d7f902..da52e6358a10 100644
--- a/lib/libc/sys/sendfile.2
+++ b/lib/libc/sys/sendfile.2
@@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: sendfile.2,v 1.2 1998/11/06 19:35:58 dg Exp $
+.\" $Id: sendfile.2,v 1.3 1999/07/26 09:37:47 sheldonh Exp $
.\"
.Dd November 5, 1998
.Dt SENDFILE 2
@@ -140,13 +140,16 @@ If specified, the number of bytes successfully sent will be returned in
.El
.Sh SEE ALSO
.Xr open 2 ,
-.Xr socket 2 ,
.Xr send 2 ,
+.Xr socket 2 ,
.Xr writev 2
.Sh HISTORY
.Fn sendfile
-first appeared in FreeBSD 3.0.
-This manual page first appeared in FreeBSD 3.1.
+first appeared in
+.Fx 3.0 .
+This manual page first appeared in
+.Fx 3.1 .
.Sh AUTHORS
.Fn sendfile
-and this manual page were written by David Greenman <dg@root.com>.
+and this manual page were written by
+.An David Greenman Aq dg@root.com .