diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-01-21 03:15:47 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-01-21 03:15:47 +0000 |
commit | 6a8d0cb8380ab8e65766f56340c8dac41d6a5705 (patch) | |
tree | d083dd11635c7a5bd971dbb4b0d5b6eff9b4a296 /lib/libc/sys | |
parent | f923664fa40842bde91793690e58d886dad875d2 (diff) |
obvious .Pa fixes; found with mandocdb(8)
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/clock_gettime.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/execve.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/getitimer.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/getsockopt.2 | 10 | ||||
-rw-r--r-- | lib/libc/sys/gettimeofday.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/intro.2 | 10 | ||||
-rw-r--r-- | lib/libc/sys/ioctl.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/kqueue.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/ktrace.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/mmap.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/mount.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/msgctl.2 | 11 | ||||
-rw-r--r-- | lib/libc/sys/pathconf.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/ptrace.2 | 22 | ||||
-rw-r--r-- | lib/libc/sys/reboot.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/recv.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/semctl.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/semop.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/shmat.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/shmctl.2 | 9 | ||||
-rw-r--r-- | lib/libc/sys/sigaction.2 | 12 | ||||
-rw-r--r-- | lib/libc/sys/socket.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/sysarch.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/syscall.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/utimes.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/wait.2 | 6 |
26 files changed, 101 insertions, 103 deletions
diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2 index 484dde0cf20..e53f79dac75 100644 --- a/lib/libc/sys/clock_gettime.2 +++ b/lib/libc/sys/clock_gettime.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: clock_gettime.2,v 1.23 2013/11/02 02:32:51 tedu Exp $ +.\" $OpenBSD: clock_gettime.2,v 1.24 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: November 2 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt CLOCK_GETTIME 2 .Os .Sh NAME @@ -85,7 +85,7 @@ providing accurate uptime measurement, both absolute and interval The structure pointed to by .Fa tp is defined in -.Aq Pa sys/time.h +.In sys/time.h as: .Bd -literal -offset indent struct timespec { diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index f27faf9fd2b..17a783aebd2 100644 --- a/lib/libc/sys/execve.2 +++ b/lib/libc/sys/execve.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: execve.2,v 1.39 2013/10/20 07:40:39 jmc Exp $ +.\" $OpenBSD: execve.2,v 1.40 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: execve.2,v 1.9 1995/02/27 12:32:25 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)execve.2 8.3 (Berkeley) 1/24/94 .\" -.Dd $Mdocdate: October 20 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt EXECVE 2 .Os .Sh NAME @@ -268,7 +268,7 @@ The new process file is on a filesystem mounted with execution disabled .Pf ( Dv MNT_NOEXEC in -.Ao Pa sys/mount.h Ac ) . +.In sys/mount.h ) . .It Bq Er ENOEXEC The new process file has the appropriate access permission, but has an invalid magic number in its header. @@ -285,7 +285,7 @@ is larger than the system-imposed limit. The limit in the system as released is 262144 bytes .Pf ( Dv NCARGS in -.Ao Pa sys/param.h Ac ) . +.In sys/param.h ) . .It Bq Er EFAULT The new process file is not as long as indicated by the size values in its header. diff --git a/lib/libc/sys/getitimer.2 b/lib/libc/sys/getitimer.2 index fe5e9c2f802..a78cbe24d79 100644 --- a/lib/libc/sys/getitimer.2 +++ b/lib/libc/sys/getitimer.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getitimer.2,v 1.24 2013/11/02 02:32:51 tedu Exp $ +.\" $OpenBSD: getitimer.2,v 1.25 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: getitimer.2,v 1.6 1995/10/12 15:40:54 jtc Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)getitimer.2 8.2 (Berkeley) 12/11/93 .\" -.Dd $Mdocdate: November 2 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETITIMER 2 .Os .Sh NAME @@ -60,7 +60,7 @@ .Sh DESCRIPTION The system provides each process with three interval timers, defined in -.Ao Pa sys/time.h Ac . +.In sys/time.h . The .Fn getitimer call returns the current value for the timer specified in @@ -139,7 +139,7 @@ restart interrupted system calls. .Pp The remaining five functions are in fact macros for manipulating time values, defined in -.Ao Pa sys/time.h Ac . +.In sys/time.h . .Pp .Fn timerclear "a" sets the time value in diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index a123e7bd8b2..36222c66936 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getsockopt.2,v 1.40 2013/06/02 01:07:47 benno Exp $ +.\" $OpenBSD: getsockopt.2,v 1.41 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: getsockopt.2,v 1.7 1995/02/27 12:33:29 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)getsockopt.2 8.3 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: June 2 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETSOCKOPT 2 .Os .Sh NAME @@ -98,7 +98,7 @@ may be and any specified options are passed uninterpreted to the appropriate protocol module for interpretation. The include file -.Aq Pa sys/socket.h +.In sys/socket.h contains definitions for socket level options, described below. Options at other protocol levels vary in format and name; consult the appropriate entries in section 4 of the manual. @@ -115,7 +115,7 @@ or zero if the option is to be disabled. uses a .Li struct linger parameter, defined in -.Aq Pa sys/socket.h , +.In sys/socket.h , which specifies the desired state of the option and the linger interval (see below). .Dv SO_SNDTIMEO @@ -124,7 +124,7 @@ and use a .Li struct timeval parameter, defined in -.Aq Pa sys/time.h . +.In sys/time.h . .Pp The following options are recognized at the socket level. Except as noted, each may be examined with diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2 index be24bd5d704..6558e919fe6 100644 --- a/lib/libc/sys/gettimeofday.2 +++ b/lib/libc/sys/gettimeofday.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gettimeofday.2,v 1.26 2013/10/24 07:34:56 guenther Exp $ +.\" $OpenBSD: gettimeofday.2,v 1.27 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)gettimeofday.2 8.2 (Berkeley) 5/26/95 .\" -.Dd $Mdocdate: October 24 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt GETTIMEOFDAY 2 .Os .Sh NAME @@ -73,7 +73,7 @@ The structures pointed to by and .Fa tzp are defined in -.Aq Pa sys/time.h +.In sys/time.h as: .Bd -literal struct timeval { diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2 index 7f57d2f66ae..462e7f716ce 100644 --- a/lib/libc/sys/intro.2 +++ b/lib/libc/sys/intro.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: intro.2,v 1.47 2013/09/30 12:02:35 millert Exp $ +.\" $OpenBSD: intro.2,v 1.48 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: intro.2,v 1.6 1995/02/27 12:33:41 cgd Exp $ .\" .\" Copyright (c) 1980, 1983, 1986, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)intro.2 8.3 (Berkeley) 12/11/93 .\" -.Dd $Mdocdate: September 30 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt INTRO 2 .Os .Sh NAME @@ -57,7 +57,7 @@ Portable applications must not depend on this definition, and should only use .Va errno as defined in -.Aq Pa errno.h . +.In errno.h . When a system call detects an error, it returns an integer value indicating failure (usually \-1) and sets the variable .Va errno @@ -74,7 +74,7 @@ to the type and circumstances of the call. .Pp The following is a complete list of the errors and their names as given in -.Aq Pa sys/errno.h . +.In sys/errno.h . .Bl -hang -width Ds .It Er 0 Em "Error 0" . Not used. @@ -110,7 +110,7 @@ The number of bytes used for the argument and environment list of the new process exceeded the limit .Dv NCARGS (specified in -.Aq Pa sys/param.h ) . +.In sys/param.h ) . .It Er 8 ENOEXEC Em "Exec format error" . A request was made to execute a file that, although it has the appropriate permissions, was not in the format required for an executable file. diff --git a/lib/libc/sys/ioctl.2 b/lib/libc/sys/ioctl.2 index 6c8ca2ab4a5..80132765a1b 100644 --- a/lib/libc/sys/ioctl.2 +++ b/lib/libc/sys/ioctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ioctl.2,v 1.16 2007/05/31 19:19:32 jmc Exp $ +.\" $OpenBSD: ioctl.2,v 1.17 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: ioctl.2,v 1.5 1995/02/27 12:33:47 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)ioctl.2 8.2 (Berkeley) 12/11/93 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: January 21 2014 $ .Dt IOCTL 2 .Os .Sh NAME @@ -78,7 +78,7 @@ in bytes. Macros and defines used in specifying an ioctl .Fa request are located in the file -.Ao Pa sys/ioctl.h Ac . +.In sys/ioctl.h . .Sh GENERIC IOCTLS Some ioctls are applicable to any file descriptor. These include: diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index 6a7c3475147..3de67750dee 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kqueue.2,v 1.28 2013/08/14 10:06:02 guenther Exp $ +.\" $OpenBSD: kqueue.2,v 1.29 2014/01/21 03:15:45 schwarze Exp $ .\" .\" Copyright (c) 2000 Jonathan Lemon .\" All rights reserved. @@ -26,7 +26,7 @@ .\" .\" $FreeBSD: src/lib/libc/sys/kqueue.2,v 1.18 2001/02/14 08:48:35 guido Exp $ .\" -.Dd $Mdocdate: August 14 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt KQUEUE 2 .Os .Sh NAME @@ -84,7 +84,7 @@ events to the user. is a pointer to an array of .Va kevent structures, as defined in -.Aq Pa sys/event.h . +.In sys/event.h . All changes contained in the .Fa changelist are applied before any pending events are read from the queue. diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2 index dcf8dfad10f..5baa17e9860 100644 --- a/lib/libc/sys/ktrace.2 +++ b/lib/libc/sys/ktrace.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ktrace.2,v 1.23 2013/06/01 09:49:53 miod Exp $ +.\" $OpenBSD: ktrace.2,v 1.24 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: ktrace.2,v 1.2 1995/02/27 12:33:58 cgd Exp $ .\" .\" Copyright (c) 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)ktrace.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: June 1 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt KTRACE 2 .Os .Sh NAME @@ -159,7 +159,7 @@ bytes of a .Fa ktr_type record. The type specific records are defined in the -.Aq Pa sys/ktrace.h +.In sys/ktrace.h include file. .Sh RETURN VALUES On successful completion a value of 0 is returned. diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index b040136d7fc..5295f09dc0d 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mmap.2,v 1.42 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: mmap.2,v 1.43 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: mmap.2,v 1.5 1995/06/24 10:48:59 cgd Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)mmap.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt MMAP 2 .Os .Sh NAME @@ -187,7 +187,7 @@ is set to indicate the error. The symbol .Dv MAP_FAILED is defined in the header -.Ao Pa sys/mman.h Ac . +.In sys/mman.h . A successful return from .Nm will never return the value diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2 index 28c404a0e88..e308bbdfbea 100644 --- a/lib/libc/sys/mount.2 +++ b/lib/libc/sys/mount.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mount.2,v 1.40 2011/11/17 14:26:14 schwarze Exp $ +.\" $OpenBSD: mount.2,v 1.41 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: mount.2,v 1.12 1996/02/29 23:47:48 jtc Exp $ .\" .\" Copyright (c) 1980, 1989, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)mount.2 8.2 (Berkeley) 12/11/93 .\" -.Dd $Mdocdate: November 17 2011 $ +.Dd $Mdocdate: January 21 2014 $ .Dt MOUNT 2 .Os .Sh NAME @@ -111,7 +111,7 @@ The .Fa type argument defines the type of the filesystem. The types of filesystems known to the system are defined in -.Aq Pa sys/mount.h . +.In sys/mount.h . .Fa data is a pointer to a structure that contains the type specific arguments to mount. diff --git a/lib/libc/sys/msgctl.2 b/lib/libc/sys/msgctl.2 index e5dd1c183ec..282f0fdda5f 100644 --- a/lib/libc/sys/msgctl.2 +++ b/lib/libc/sys/msgctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: msgctl.2,v 1.13 2007/05/31 19:19:33 jmc Exp $ +.\" $OpenBSD: msgctl.2,v 1.14 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: msgctl.2,v 1.2 1997/03/27 08:20:35 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -30,7 +30,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\"/ -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: January 21 2014 $ .Dt MSGCTL 2 .Os .Sh NAME @@ -55,7 +55,7 @@ may be altered by and parts of which determine the actions of .Fn msgctl . The data structure is defined in -.Aq Pa sys/msg.h +.In sys/msg.h and contains (amongst others) the following members: .Bd -literal struct msqid_ds { @@ -76,7 +76,7 @@ The structure used inside the .Fa msqid_ds structure is defined in -.Aq Pa sys/ipc.h +.In sys/ipc.h and looks like this: .Bd -literal struct ipc_perm { @@ -126,9 +126,8 @@ Values for that exceed the system limit .Pf ( Dv MSGMNB from -.Aq Pa sys/msg.h ) +.In sys/msg.h ) are silently truncated to that limit. -.Pp .It Dv IPC_RMID Remove the message queue specified by .Fa msqid diff --git a/lib/libc/sys/pathconf.2 b/lib/libc/sys/pathconf.2 index eb29bafd2a1..dd9c72ce7f0 100644 --- a/lib/libc/sys/pathconf.2 +++ b/lib/libc/sys/pathconf.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pathconf.2,v 1.20 2013/03/28 20:37:56 jmc Exp $ +.\" $OpenBSD: pathconf.2,v 1.21 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: pathconf.2,v 1.2 1995/02/27 12:35:22 cgd Exp $ .\" .\" Copyright (c) 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)pathconf.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: March 28 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt PATHCONF 2 .Os .Sh NAME @@ -66,7 +66,7 @@ The .Fa name argument specifies the system variable to be queried. Symbolic constants for each name value are found in the include file -.Aq Pa unistd.h . +.In unistd.h . .Pp The available values are as follows: .Bl -tag -width "123456" diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 797472251ed..70cf6a3a9b6 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/ptrace.2 @@ -1,8 +1,8 @@ -.\" $OpenBSD: ptrace.2,v 1.27 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: ptrace.2,v 1.28 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: ptrace.2,v 1.3 1996/02/23 01:39:41 jtc Exp $ .\" .\" This file is in the public domain. -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt PTRACE 2 .Os .Sh NAME @@ -314,7 +314,7 @@ under This request reads the traced process' machine registers into the .Dq Li struct reg (defined in -.Aq Pa machine/reg.h ) +.In machine/reg.h ) pointed to by .Fa addr . .It Dv PT_SETREGS Pq all platforms @@ -323,7 +323,7 @@ This request is the converse of it loads the traced process' machine registers from the .Dq Li struct reg (defined in -.Aq Pa machine/reg.h ) +.In machine/reg.h ) pointed to by .Fa addr . .\" .It Dv PT_SYSCALL @@ -345,10 +345,10 @@ pointed to by .\" element is of type .\" .Dq Li struct mdproc , .\" which should be declared by including -.\" .Aq Pa sys/param.h , -.\" .Aq Pa sys/user.h , +.\" .In sys/param.h , +.\" .In sys/user.h , .\" and -.\" .Aq Pa machine/proc.h , +.\" .In machine/proc.h , .\" and contains the following fields (among others): .\" .Bl -item -compact -offset indent .\" .It @@ -438,7 +438,7 @@ This request reads the traced process' floating-point registers into the .Dq Li struct fpreg (defined in -.Aq Pa machine/reg.h ) +.In machine/reg.h ) pointed to by .Fa addr . .It Xo Dv PT_SETFPREGS @@ -449,14 +449,14 @@ This request is the converse of it loads the traced process' floating-point registers from the .Dq Li struct fpreg (defined in -.Aq Pa machine/reg.h ) +.In machine/reg.h ) pointed to by .Fa addr . .It Dv PT_GETXMMREGS Pq i386 only This request reads the traced process' XMM registers into the .Dq Li struct xmmregs (defined in -.Aq Pa machine/reg.h ) +.In machine/reg.h ) pointed to by .Fa addr . .It Dv PT_SETXMMREGS Pq i386 only @@ -465,7 +465,7 @@ This request is the converse of it loads the traced process' XMM registers from the .Dq Li struct xmmregs (defined in -.Aq Pa machine/reg.h ) +.In machine/reg.h ) pointed to by .Fa addr . .It Dv PT_WCOOKIE Pq sparc and sparc64 only diff --git a/lib/libc/sys/reboot.2 b/lib/libc/sys/reboot.2 index c50033cdc43..53b32fb988a 100644 --- a/lib/libc/sys/reboot.2 +++ b/lib/libc/sys/reboot.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: reboot.2,v 1.15 2011/12/03 23:01:21 schwarze Exp $ +.\" $OpenBSD: reboot.2,v 1.16 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: reboot.2,v 1.5 1995/02/27 12:36:02 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)reboot.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: December 3 2011 $ +.Dd $Mdocdate: January 21 2014 $ .Dt REBOOT 2 .Os .Sh NAME @@ -51,7 +51,7 @@ automatically in the event of unrecoverable system failures. .Fa howto is a mask of options; the system call interface allows the following options, defined in the include file -.Aq Pa sys/reboot.h , +.In sys/reboot.h , to be passed to the new kernel or the new bootstrap and init programs. .Bl -tag -width RB_INITNAMEA @@ -169,7 +169,7 @@ The caller is not the superuser. .Sh HISTORY The .Fn reboot -function call appeared in +system call finally appeared in .Bx 4.0 . .Sh BUGS Not all platforms support all possible arguments. diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2 index 7bf2274ae81..51aac36f0ad 100644 --- a/lib/libc/sys/recv.2 +++ b/lib/libc/sys/recv.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: recv.2,v 1.37 2011/07/19 18:24:40 mikeb Exp $ +.\" $OpenBSD: recv.2,v 1.38 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: recv.2,v 1.6 1995/02/27 12:36:08 cgd Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)recv.2 8.3 (Berkeley) 2/21/94 .\" -.Dd $Mdocdate: July 19 2011 $ +.Dd $Mdocdate: January 21 2014 $ .Dt RECV 2 .Os .Sh NAME @@ -163,7 +163,7 @@ call uses a .Fa msghdr structure to minimize the number of directly supplied parameters. This structure has the following form, as defined in -.Aq Pa sys/socket.h : +.In sys/socket.h : .Bd -literal struct msghdr { void *msg_name; /* optional address */ diff --git a/lib/libc/sys/semctl.2 b/lib/libc/sys/semctl.2 index d94fb75d9e3..2ba88333fd2 100644 --- a/lib/libc/sys/semctl.2 +++ b/lib/libc/sys/semctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: semctl.2,v 1.14 2011/02/02 09:37:09 fgsch Exp $ +.\" $OpenBSD: semctl.2,v 1.15 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: semctl.2,v 1.2 1997/03/27 08:20:40 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -30,7 +30,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\"/ -.Dd $Mdocdate: February 2 2011 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SEMCTL 2 .Os .Sh NAME @@ -70,7 +70,7 @@ structure used in the and .Dv IPC_STAT commands is defined as follows in -.Aq Pa sys/sem.h : +.In sys/sem.h : .Bd -literal struct semid_ds { struct ipc_perm sem_perm; /* operation permissions */ @@ -90,7 +90,7 @@ structure used inside the semid_ds .Ef structure is defined in -.Aq Pa sys/ipc.h +.In sys/ipc.h and looks like this: .Bd -literal struct ipc_perm { diff --git a/lib/libc/sys/semop.2 b/lib/libc/sys/semop.2 index a81be6620fb..974bbf1d2a7 100644 --- a/lib/libc/sys/semop.2 +++ b/lib/libc/sys/semop.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: semop.2,v 1.15 2007/09/03 14:37:52 millert Exp $ +.\" $OpenBSD: semop.2,v 1.16 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: semop.2,v 1.1 1995/10/16 23:49:28 jtc Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -30,7 +30,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\"/ -.Dd $Mdocdate: September 3 2007 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SEMOP 2 .Os .Sh NAME @@ -137,7 +137,7 @@ The value of .Fa nsops is too big. The maximum is specified in MAX_SOPS in -.Aq Pa sys/sem.h . +.In sys/sem.h . .It Bq Er EFBIG .Va sem_num in one of the sem_buf structures is less than 0, or greater than the actual diff --git a/lib/libc/sys/shmat.2 b/lib/libc/sys/shmat.2 index 20addde9d44..30c8dbe9b6c 100644 --- a/lib/libc/sys/shmat.2 +++ b/lib/libc/sys/shmat.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: shmat.2,v 1.14 2007/05/31 19:19:33 jmc Exp $ +.\" $OpenBSD: shmat.2,v 1.15 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: shmat.2,v 1.2 1997/03/27 08:20:38 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -30,7 +30,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\"/ -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SHMAT 2 .Os .Sh NAME @@ -67,7 +67,7 @@ the system will round the address down to a multiple of bytes .Pf ( Dv SHMLBA is defined in -.Aq Pa sys/shm.h ) . +.In sys/shm.h ) . .Pp A shared memory segment can be mapped read-only by specifying the .Dv SHM_RDONLY diff --git a/lib/libc/sys/shmctl.2 b/lib/libc/sys/shmctl.2 index f53d95428a0..02215e90fc2 100644 --- a/lib/libc/sys/shmctl.2 +++ b/lib/libc/sys/shmctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: shmctl.2,v 1.14 2011/10/27 07:56:28 robert Exp $ +.\" $OpenBSD: shmctl.2,v 1.15 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: shmctl.2,v 1.3 1997/03/27 08:20:39 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -30,7 +30,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\"/ -.Dd $Mdocdate: October 27 2011 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SHMCTL 2 .Os .Sh NAME @@ -56,7 +56,7 @@ and parts of which determine the actions of .Fn shmctl . .Pp This structure is defined as follows in -.Aq Pa sys/shm.h : +.In sys/shm.h : .Bd -literal struct shmid_ds { struct ipc_perm shm_perm; /* operation permissions */ @@ -80,7 +80,7 @@ structure used inside the shmid_ds .Ef structure is defined in -.Aq Pa sys/ipc.h +.In sys/ipc.h and looks like this: .Bd -literal struct ipc_perm { @@ -121,7 +121,6 @@ has an effective user ID equal to either or .Va shm_perm.uid in the data structure associated with the shared memory segment. -.Pp .It Dv IPC_RMID Mark the shared memory segment specified by .Fa shmid diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2 index d99f1334a32..76ab2a94cb9 100644 --- a/lib/libc/sys/sigaction.2 +++ b/lib/libc/sys/sigaction.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sigaction.2,v 1.53 2013/08/14 08:46:07 jmc Exp $ +.\" $OpenBSD: sigaction.2,v 1.54 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: sigaction.2,v 1.7 1995/10/12 15:41:16 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)sigaction.2 8.2 (Berkeley) 4/3/94 .\" -.Dd $Mdocdate: August 14 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SIGACTION 2 .Os .Sh NAME @@ -247,7 +247,7 @@ If this bit is set, the 2nd argument of the handler is set to be a pointer to a .Em siginfo_t structure as described in -.Aq Pa sys/siginfo.h . +.In sys/siginfo.h . The .Em siginfo_t structure is a part of @@ -301,7 +301,7 @@ signals that restart pending system calls continue to do so. .Pp The following is a list of all signals with names as in the include file -.Aq Pa signal.h : +.In signal.h : .Bl -column "SIGVTALARM" "create core image" "Description" .It Sy "Name" Ta Sy "Default Action" Ta Sy "Description" .It Dv SIGHUP Ta "terminate process" Ta "terminal line hangup" @@ -372,7 +372,7 @@ option is set, is a pointer to a .Dv siginfo_t as described in -.Aq Pa sys/siginfo.h . +.In sys/siginfo.h . If .Dv SA_SIGINFO is not set, this pointer will be @@ -387,7 +387,7 @@ will be called instead of the function specified by is a pointer to the .Fa sigcontext structure (defined in -.Aq Pa signal.h ) , +.In signal.h ) , used to restore the context from before the signal. .Sh ERRORS .Fn sigaction diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2 index 63a8a36268e..28c1e020b5f 100644 --- a/lib/libc/sys/socket.2 +++ b/lib/libc/sys/socket.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: socket.2,v 1.35 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: socket.2,v 1.36 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: socket.2,v 1.5 1995/02/27 12:37:53 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)socket.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SOCKET 2 .Os .Sh NAME @@ -50,7 +50,7 @@ parameter specifies a communications domain within which communication will take place; this selects the protocol family which should be used. These families are defined in the include file -.Ao Pa sys/socket.h Ac . +.In sys/socket.h . The currently understood formats are: .Pp .Bl -tag -width "AF_IMPLINKXXX" -offset indent -compact @@ -196,7 +196,7 @@ of I/O events via The operation of sockets is controlled by socket level .Em options . These options are defined in the file -.Ao Pa sys/socket.h Ac . +.In sys/socket.h . .Xr setsockopt 2 and .Xr getsockopt 2 diff --git a/lib/libc/sys/sysarch.2 b/lib/libc/sys/sysarch.2 index 1fa3de7f5b4..b1f56325a06 100644 --- a/lib/libc/sys/sysarch.2 +++ b/lib/libc/sys/sysarch.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysarch.2,v 1.9 2007/05/31 19:19:34 jmc Exp $ +.\" $OpenBSD: sysarch.2,v 1.10 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: sysarch.2,v 1.4 1995/02/27 12:38:47 cgd Exp $ .\" .\" Copyright (c) 1980, 1991 Regents of the University of California. @@ -30,7 +30,7 @@ .\" .\" from: @(#)syscall.2 6.3 (Berkeley) 3/10/91 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SYSARCH 2 .Os .Sh NAME @@ -51,7 +51,7 @@ pointer. is a pointer to a structure defining the actual arguments of the function. Symbolic constants and argument structures for the architecture-dependent functions can be found in the header file -.Ao Pa machine/sysarch.h Ac . +.In machine/sysarch.h . .Pp The .Fn sysarch diff --git a/lib/libc/sys/syscall.2 b/lib/libc/sys/syscall.2 index 0b0f56325da..4dff0623f25 100644 --- a/lib/libc/sys/syscall.2 +++ b/lib/libc/sys/syscall.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: syscall.2,v 1.10 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: syscall.2,v 1.11 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: syscall.2,v 1.4 1995/02/27 12:38:53 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)syscall.2 8.1 (Berkeley) 6/16/93 .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt SYSCALL 2 .Os .Sh NAME @@ -50,7 +50,7 @@ interface has the specified .Fa number with the specified arguments. Symbolic constants for system calls can be found in the header file -.Ao Pa sys/syscall.h Ac . +.In sys/syscall.h . .Pp Since different system calls have different return types, a prototype of diff --git a/lib/libc/sys/utimes.2 b/lib/libc/sys/utimes.2 index 992008d8ec8..454e4c29258 100644 --- a/lib/libc/sys/utimes.2 +++ b/lib/libc/sys/utimes.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: utimes.2,v 1.19 2013/11/02 17:25:34 espie Exp $ +.\" $OpenBSD: utimes.2,v 1.20 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: utimes.2,v 1.9 1996/04/23 10:34:16 mycroft Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)utimes.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: November 2 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt UTIMES 2 .Os .Sh NAME @@ -160,7 +160,7 @@ and the effective user ID of the process does not match the owner of the file, and is not the superuser, and write access is denied. .It Bq Er EFAULT -.Pa File +.Fa file or .Fa times points outside the process's allocated address space. diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2 index 9442cc6900d..d6cd436e645 100644 --- a/lib/libc/sys/wait.2 +++ b/lib/libc/sys/wait.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wait.2,v 1.24 2013/04/03 03:15:59 guenther Exp $ +.\" $OpenBSD: wait.2,v 1.25 2014/01/21 03:15:45 schwarze Exp $ .\" $NetBSD: wait.2,v 1.6 1995/02/27 12:39:37 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 @@ -30,7 +30,7 @@ .\" .\" @(#)wait.2 8.2 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: April 3 2013 $ +.Dd $Mdocdate: January 21 2014 $ .Dt WAIT 2 .Os .Sh NAME @@ -78,7 +78,7 @@ The .Fa wpid parameter specifies the set of child processes for which to wait. The following symbolic constants are currently defined in -.Aq Pa sys/wait.h : +.In sys/wait.h : .Bd -unfilled -offset indent #define WAIT_ANY (-1) /* any process */ #define WAIT_MYPGRP 0 /* any process in my process group */ |