diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-06-01 20:25:24 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-06-01 20:25:24 +0000 |
commit | 6cad64ba11b340a6a8a2838ee73a6ed19c7781e0 (patch) | |
tree | d6968de37ff37d102ff7bb309c0e775ff56f8769 | |
parent | 283915137f14bb73cc35b81256db999a2f8f3e15 (diff) |
- section reorder
- merge COMPATIBILITY
- kill whitespace at EOL
-rw-r--r-- | lib/libc/sys/getsockname.2 | 10 | ||||
-rw-r--r-- | lib/libc/sys/getsockopt.2 | 18 | ||||
-rw-r--r-- | lib/libc/sys/listen.2 | 10 | ||||
-rw-r--r-- | lib/libc/sys/lseek.2 | 20 | ||||
-rw-r--r-- | lib/libc/sys/mlock.2 | 16 | ||||
-rw-r--r-- | lib/libc/sys/mmap.2 | 18 | ||||
-rw-r--r-- | lib/libc/sys/mount.2 | 10 | ||||
-rw-r--r-- | lib/libc/sys/mquery.2 | 22 | ||||
-rw-r--r-- | lib/libc/sys/msgrcv.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/msgsnd.2 | 6 |
10 files changed, 68 insertions, 68 deletions
diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2 index 72e3cb43610..43178442aca 100644 --- a/lib/libc/sys/getsockname.2 +++ b/lib/libc/sys/getsockname.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getsockname.2,v 1.20 2003/05/20 04:15:47 pjanzen Exp $ +.\" $OpenBSD: getsockname.2,v 1.21 2003/06/01 20:25:23 jmc Exp $ .\" $NetBSD: getsockname.2,v 1.6 1995/10/12 15:41:00 jtc Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -153,12 +153,12 @@ process address space. .Xr getpeereid 2 , .Xr getpeername 2 , .Xr socket 2 -.Sh BUGS -Names bound to sockets in the UNIX domain are inaccessible; -.Nm getsockname -returns a zero length name. .Sh HISTORY The .Fn getsockname function call appeared in .Bx 4.2 . +.Sh BUGS +Names bound to sockets in the UNIX domain are inaccessible; +.Nm getsockname +returns a zero length name. diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index b0d1cb7a48c..8075dcf4f33 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getsockopt.2,v 1.18 2002/04/08 23:13:10 espie Exp $ +.\" $OpenBSD: getsockopt.2,v 1.19 2003/06/01 20:25:23 jmc Exp $ .\" $NetBSD: getsockopt.2,v 1.7 1995/02/27 12:33:29 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -142,7 +142,7 @@ and set with .It Dv SO_REUSEPORT Ta "enables duplicate address and port bindings" .It Dv SO_KEEPALIVE Ta "enables keep connections alive" .It Dv SO_DONTROUTE Ta "enables routing bypass for outgoing messages" -.It Dv SO_LINGER Ta "linger on close if data present" +.It Dv SO_LINGER Ta "linger on close if data present" .It Dv SO_BROADCAST Ta "enables permission to transmit broadcast messages" .It Dv SO_OOBINLINE Ta "enables reception of out-of-band data in band" .It Dv SO_SNDBUF Ta "set buffer size for output" @@ -330,11 +330,6 @@ this error may also be returned if .Fa optlen is not in a valid part of the process address space. .El -.Sh COMPATIBILITY -.Dv SO_PEERCRED -is not supported, see -.Xr getpeereid 2 -instead. .Sh SEE ALSO .Xr connect 2 , .Xr ioctl 2 , @@ -343,10 +338,15 @@ instead. .Xr socket 2 , .Xr getprotoent 3 , .Xr protocols 5 -.Sh BUGS -Several of the socket options should be handled at lower levels of the system. +.Sh STANDARDS +.Dv SO_PEERCRED +is not supported, see +.Xr getpeereid 2 +instead. .Sh HISTORY The .Fn getsockopt system call appeared in .Bx 4.2 . +.Sh BUGS +Several of the socket options should be handled at lower levels of the system. diff --git a/lib/libc/sys/listen.2 b/lib/libc/sys/listen.2 index 2348da80457..fee51f7eb5e 100644 --- a/lib/libc/sys/listen.2 +++ b/lib/libc/sys/listen.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: listen.2,v 1.7 1999/06/29 14:10:05 aaron Exp $ +.\" $OpenBSD: listen.2,v 1.8 2003/06/01 20:25:23 jmc Exp $ .\" $NetBSD: listen.2,v 1.7 1996/02/16 20:38:45 phil Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -94,12 +94,12 @@ The socket is not of a type that supports the operation .Xr accept 2 , .Xr connect 2 , .Xr socket 2 -.Sh BUGS -The -.Fa backlog -is currently limited (silently) to 128. .Sh HISTORY The .Fn listen function call appeared in .Bx 4.2 . +.Sh BUGS +The +.Fa backlog +is currently limited (silently) to 128. diff --git a/lib/libc/sys/lseek.2 b/lib/libc/sys/lseek.2 index 1fdf2e1bed0..c6b0c10dbd7 100644 --- a/lib/libc/sys/lseek.2 +++ b/lib/libc/sys/lseek.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: lseek.2,v 1.11 2002/06/09 05:09:13 deraadt Exp $ +.\" $OpenBSD: lseek.2,v 1.12 2003/06/01 20:25:23 jmc Exp $ .\" $NetBSD: lseek.2,v 1.6 1995/02/27 12:34:09 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -123,10 +123,11 @@ offsets to be used. .Sh SEE ALSO .Xr dup 2 , .Xr open 2 -.Sh BUGS -This document's use of -.Fa whence -is incorrect English, but is maintained for historical reasons. +.Sh STANDARDS +The +.Fn lseek +function conforms to +.St -p1003.1-88 . .Sh HISTORY A .Fn seek @@ -139,8 +140,7 @@ for due to a larger .Fa offset argument type. -.Sh STANDARDS -The -.Fn lseek -function conforms to -.St -p1003.1-88 . +.Sh BUGS +This document's use of +.Fa whence +is incorrect English, but is maintained for historical reasons. diff --git a/lib/libc/sys/mlock.2 b/lib/libc/sys/mlock.2 index 93536b36297..d3371c60e6d 100644 --- a/lib/libc/sys/mlock.2 +++ b/lib/libc/sys/mlock.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mlock.2,v 1.12 2003/02/25 08:26:38 jmc Exp $ +.\" $OpenBSD: mlock.2,v 1.13 2003/06/01 20:25:23 jmc Exp $ .\" $NetBSD: mlock.2,v 1.3 1995/06/24 10:42:03 cgd Exp $ .\" .\" Copyright (c) 1993 @@ -143,6 +143,13 @@ Some portion of the indicated address range is not locked. .Xr munmap 2 , .Xr setrlimit 2 , .Xr getpagesize 3 +.Sh HISTORY +The +.Fn mlock +and +.Fn munlock +functions first appeared in +.Bx 4.4 . .Sh BUGS Unlike The Sun implementation, multiple .Nm mlock @@ -160,10 +167,3 @@ physical pages. Hence a process with two distinct locked mappings of the same physical page counts as 2 pages against the per-process limit and as only a single page in the system limit. -.Sh HISTORY -The -.Fn mlock -and -.Fn munlock -functions first appeared in -.Bx 4.4 . diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index 36c64f9eb9c..9242ff99461 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mmap.2,v 1.30 2003/05/16 09:17:48 jmc Exp $ +.\" $OpenBSD: mmap.2,v 1.31 2003/06/01 20:25:23 jmc Exp $ .\" $NetBSD: mmap.2,v 1.5 1995/06/24 10:48:59 cgd Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -218,6 +218,14 @@ parameter wasn't available. .Dv MAP_ANON was specified and insufficient memory was available. .El +.Sh SEE ALSO +.Xr madvise 2 , +.Xr mincore 2 , +.Xr mlock 2 , +.Xr mprotect 2 , +.Xr msync 2 , +.Xr munmap 2 , +.Xr getpagesize 3 .Sh BUGS Due to a limitation of the current vm system (see .Xr uvm 9 ) , @@ -231,11 +239,3 @@ This means that such descriptors must be opened with .Dv O_RDWR , which requires both read and write permissions on the underlying object. -.Sh SEE ALSO -.Xr madvise 2 , -.Xr mincore 2 , -.Xr mlock 2 , -.Xr mprotect 2 , -.Xr msync 2 , -.Xr munmap 2 , -.Xr getpagesize 3 diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2 index 96e590d024b..f2ebf42ebac 100644 --- a/lib/libc/sys/mount.2 +++ b/lib/libc/sys/mount.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mount.2,v 1.24 2003/04/02 16:04:18 jmc Exp $ +.\" $OpenBSD: mount.2,v 1.25 2003/06/01 20:25:23 jmc Exp $ .\" $NetBSD: mount.2,v 1.12 1996/02/29 23:47:48 jtc Exp $ .\" .\" Copyright (c) 1980, 1989, 1993 @@ -156,7 +156,7 @@ struct iso_args { .Bd -literal -offset indent -compact struct ufs_args { char *fspec; /* block special file to mount */ - struct export_args export_info; + struct export_args export_info; /* network export information */ }; .Ed @@ -165,7 +165,7 @@ struct ufs_args { .Bd -literal -offset indent -compact struct mfs_args { char *fspec; /* name to export for statfs */ - struct export_args export_info; + struct export_args export_info; /* if we can export an MFS */ caddr_t base; /* base of filesystem in mem */ u_long size; /* size of filesystem */ @@ -393,11 +393,11 @@ mounted. .Xr mfs 8 , .Xr mount 8 , .Xr umount 8 -.Sh BUGS -Some of the error codes need translation to more obvious messages. .Sh HISTORY .Fn mount and .Fn unmount function calls appeared in .At v6 . +.Sh BUGS +Some of the error codes need translation to more obvious messages. diff --git a/lib/libc/sys/mquery.2 b/lib/libc/sys/mquery.2 index 2881c495e7a..c4664fc0476 100644 --- a/lib/libc/sys/mquery.2 +++ b/lib/libc/sys/mquery.2 @@ -1,16 +1,16 @@ -.\" $OpenBSD: mquery.2,v 1.6 2003/04/25 18:59:29 drahn Exp $ +.\" $OpenBSD: mquery.2,v 1.7 2003/06/01 20:25:23 jmc Exp $ .\" .\" Copyright (c) 2003 Artur Grabowski <art@openbsd.org> -.\" All rights reserved. +.\" All rights reserved. .\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: .\" -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. .\" 2. The name of the author may not be used to endorse or promote products -.\" derived from this software without specific prior written permission. +.\" derived from this software without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, .\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY @@ -21,7 +21,7 @@ .\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, .\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .Dd April 2, 2003 .Dt MQUERY 2 @@ -94,7 +94,7 @@ and arguments. When no such area can be found .Fn mquery -will return +will return and set .Va errno to indicate the error. @@ -102,7 +102,7 @@ to indicate the error. When a memory range satisfying the request is found .Fn mquery returns the available address. -Otherwise, +Otherwise, .Dv MAP_FAILED is returned and .Va errno diff --git a/lib/libc/sys/msgrcv.2 b/lib/libc/sys/msgrcv.2 index 6fd8a0ca8c2..89dfd4d0b38 100644 --- a/lib/libc/sys/msgrcv.2 +++ b/lib/libc/sys/msgrcv.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: msgrcv.2,v 1.11 2003/02/27 07:55:34 jmc Exp $ +.\" $OpenBSD: msgrcv.2,v 1.12 2003/06/01 20:25:23 jmc Exp $ .\" $NetBSD: msgrcv.2,v 1.2 1997/03/27 08:20:37 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -197,6 +197,8 @@ is set in .Xr msgctl 2 , .Xr msgget 2 , .Xr msgsnd 2 +.Sh HISTORY +Message queues appeared in the first release of AT&T Unix System V. .Sh BUGS .Ox does not define the @@ -208,5 +210,3 @@ value, which should be used when no suitable message is available and .Dv IPC_NOWAIT is set. -.Sh HISTORY -Message queues appeared in the first release of AT&T Unix System V. diff --git a/lib/libc/sys/msgsnd.2 b/lib/libc/sys/msgsnd.2 index dc0ea973342..77559b174af 100644 --- a/lib/libc/sys/msgsnd.2 +++ b/lib/libc/sys/msgsnd.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: msgsnd.2,v 1.10 2003/02/27 07:55:34 jmc Exp $ +.\" $OpenBSD: msgsnd.2,v 1.11 2003/06/01 20:25:23 jmc Exp $ .\" $NetBSD: msgsnd.2,v 1.2 1997/03/27 08:20:36 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -156,11 +156,11 @@ The system call was interrupted by the delivery of a signal. .Xr msgctl 2 , .Xr msgget 2 , .Xr msgrcv 2 +.Sh HISTORY +Message queues appeared in the first release of AT&T Unix System V. .Sh BUGS .Ox does not define the .Er EIDRM error value, which should be used in the case of a removed message queue. -.Sh HISTORY -Message queues appeared in the first release of AT&T Unix System V. |