diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-02-25 08:26:39 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-02-25 08:26:39 +0000 |
commit | 4b5c15322a076129905bf6753139b0b8d4e6f324 (patch) | |
tree | a8a4b2ca068d2b15f290b05ad48274c64248cc03 /lib | |
parent | 1789d28925a1de801286214ec0b73d7f78006412 (diff) |
typos;
intro(2): help deraadt@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libarch/alpha/inb.2 | 6 | ||||
-rw-r--r-- | lib/libarch/i386/i386_get_ldt.2 | 17 | ||||
-rw-r--r-- | lib/libarch/i386/i386_iopl.2 | 7 | ||||
-rw-r--r-- | lib/libarch/i386/i386_vm86.2 | 17 | ||||
-rw-r--r-- | lib/libc/sys/_exit.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/accept.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/intro.2 | 10 | ||||
-rw-r--r-- | lib/libc/sys/ktrace.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/mlock.2 | 3 |
9 files changed, 41 insertions, 31 deletions
diff --git a/lib/libarch/alpha/inb.2 b/lib/libarch/alpha/inb.2 index 0de8c512cbb..d6b9ae52c18 100644 --- a/lib/libarch/alpha/inb.2 +++ b/lib/libarch/alpha/inb.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: inb.2,v 1.1 2002/07/12 22:30:25 deraadt Exp $ +.\" $OpenBSD: inb.2,v 1.2 2003/02/25 08:26:38 jmc Exp $ .\" .\" Copyright (c) 2002 Matthieu Herrb .\" All rights reserved. @@ -94,7 +94,7 @@ The functions write data to the specified I/O port. .Pp .Fn ioperm -enables the access to to the specified port numbers if +enables access to the specified port numbers if .Fa on is .Dv TRUE @@ -119,7 +119,7 @@ functions read data from device memory previously mapped by .Pp The .Fn write* -functions write datz to the device memory previously mapped by +functions write data to the device memory previously mapped by .Fn map_memory . .\" .Sh EXAMPLES .\" TBW diff --git a/lib/libarch/i386/i386_get_ldt.2 b/lib/libarch/i386/i386_get_ldt.2 index 10cb98439ed..25b880d9ef0 100644 --- a/lib/libarch/i386/i386_get_ldt.2 +++ b/lib/libarch/i386/i386_get_ldt.2 @@ -55,17 +55,17 @@ LDT. will set a list of i386 descriptors for the current process in its LDT. Both routines accept a starting selector number -.Fa start_sel -, an array of memory that +.Fa start_sel , +an array of memory that will contain the descriptors to be set or returned -.Fa descs -, and the number of entries to set or return +.Fa descs , +and the number of entries to set or return .Fa num_sels . .Pp The argument .Fa descs -can be either segment_descriptor or gate_descriptor and are defined in -.Fd <i386/segments.h> . +can be either segment_descriptor or gate_descriptor, as defined in +.Ao Pa i386/segments.h Ac . These structures are defined by the architecture as disjoint bit-fields, so care must be taken in constructing them. .Sh RETURN VALUES @@ -94,6 +94,9 @@ The caller attempted to use a descriptor that would circumvent protection or cause a failure. .El .Sh REFERENCES -i386 Microprocessor Programmer's Reference Manual, Intel +.Rs +.%A Intel +.%T i386 Microprocessor Programmer's Reference Manual +.Re .Sh WARNING You can really hose your process using this. diff --git a/lib/libarch/i386/i386_iopl.2 b/lib/libarch/i386/i386_iopl.2 index e48755ebb09..a4a746f1319 100644 --- a/lib/libarch/i386/i386_iopl.2 +++ b/lib/libarch/i386/i386_iopl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: i386_iopl.2,v 1.9 2000/04/15 11:46:01 aaron Exp $ +.\" $OpenBSD: i386_iopl.2,v 1.10 2003/02/25 08:26:38 jmc Exp $ .\" $NetBSD: i386_iopl.2,v 1.3 1996/02/27 22:57:25 jtc Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -70,7 +70,10 @@ The caller was not the superuser. .Xr i386_get_ioperm 2 , .Xr i386_set_ioperm 2 .Sh REFERENCES -i386 Microprocessor Programmer's Reference Manual, Intel +.Rs +.%A Intel +.%T i386 Microprocessor Programmer's Reference Manual +.Re .Sh WARNING You can really hose your machine if you enable user-level I/O and write to hardware ports without care. diff --git a/lib/libarch/i386/i386_vm86.2 b/lib/libarch/i386/i386_vm86.2 index 2bf07c5a635..4347d3e2922 100644 --- a/lib/libarch/i386/i386_vm86.2 +++ b/lib/libarch/i386/i386_vm86.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: i386_vm86.2,v 1.7 2001/08/06 10:42:25 mpech Exp $ +.\" $OpenBSD: i386_vm86.2,v 1.8 2003/02/25 08:26:38 jmc Exp $ .\" $NetBSD: i386_vm86.2,v 1.1 1996/02/21 00:21:52 jtk Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -67,20 +67,20 @@ and .Ar vmcp->int21_byuser for fast virtual interrupt handling. If the -.Ar n th +.Ar n Ns Li th bit is clear in the first of these arrays, then the kernel may directly emulate the real-mode x86 INT .Ar n instruction handling. If the -.Ar n -th bit is set, then the process is +.Ar n Ns Li th +bit is set, then the process is delivered a signal when an INT instruction is executed. .Pp Since MS-DOS puts many DOS functions onto interrupt 21, it is handled specially: the -.Ar k -th bit in the +.Ar k Ns Li th +bit in the .Ar vmcp->int21_byuser array is checked when INT .Ar 21 @@ -105,4 +105,7 @@ The state at was not readable to the user process. .El .Sh REFERENCES -i386 Microprocessor Programmer's Reference Manual, Intel +.Rs +.%A Intel +.%T i386 Microprocessor Programmer's Reference Manual +.Re diff --git a/lib/libc/sys/_exit.2 b/lib/libc/sys/_exit.2 index 30a52c59c6d..c56dc32e4ce 100644 --- a/lib/libc/sys/_exit.2 +++ b/lib/libc/sys/_exit.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: _exit.2,v 1.12 2002/11/10 03:21:48 fgsch Exp $ +.\" $OpenBSD: _exit.2,v 1.13 2003/02/25 08:26:38 jmc Exp $ .\" $NetBSD: _exit.2,v 1.6 1995/02/27 12:31:34 cgd Exp $ .\" .\" Copyright (c) 1980, 1993 @@ -64,7 +64,7 @@ is set as defined by .Xr wait 2 . (Note that typically only the lower 8 bits of .Fa status -is passed on to the parent, thus negative values have less meaning.) +are passed on to the parent, thus negative values have less meaning.) .It The parent process ID of all of the calling process's existing child processes are set to 1; the initialization process (see the diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2 index 5f4932e060a..483bc69a252 100644 --- a/lib/libc/sys/accept.2 +++ b/lib/libc/sys/accept.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: accept.2,v 1.13 2001/11/02 22:34:21 jj Exp $ +.\" $OpenBSD: accept.2,v 1.14 2003/02/25 08:26:38 jmc Exp $ .\" $NetBSD: accept.2,v 1.7 1996/01/31 20:14:42 mycroft Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 @@ -122,7 +122,7 @@ request. Similarly, one can provide user connection rejection information by issuing a .Xr sendmsg 2 -call with providing only the control information, or by calling +call providing only the control information, or by calling .Xr setsockopt 2 . .Sh RETURN VALUES The call returns \-1 on error. diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2 index a16452d5487..a8747b8b507 100644 --- a/lib/libc/sys/intro.2 +++ b/lib/libc/sys/intro.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: intro.2,v 1.25 2002/08/11 16:50:26 aaron Exp $ +.\" $OpenBSD: intro.2,v 1.26 2003/02/25 08:26:38 jmc Exp $ .\" $NetBSD: intro.2,v 1.6 1995/02/27 12:33:41 cgd Exp $ .\" .\" Copyright (c) 1980, 1983, 1986, 1991, 1993 @@ -168,7 +168,7 @@ or function). .It Er 23 ENFILE Em "Too many open files in system" . Maximum number of file descriptors allowable on the system -has been reached and a requests for an open cannot be satisfied +has been reached and a request for an open cannot be satisfied until at least one has been closed. .It Er 24 EMFILE Em "Too many open files" . (As released, the limit on the number of @@ -204,7 +204,7 @@ An function was issued on a socket, pipe or .Tn FIFO . .It Er 30 EROFS Em "Read-only file system" . -An attempt was made to modify a file or directory was made +An attempt was made to modify a file or create a directory on a file system that was read-only at the time. .It Er 31 EMLINK Em "Too many links" . Maximum allowable hard links to a single file has been exceeded (limit @@ -304,7 +304,7 @@ or request on a connected socket specified a destination when already connected. .It Er 57 ENOTCONN Em "Socket is not connected" . -An request to send or receive data was disallowed because +A request to send or receive data was disallowed because the socket was not connected and (when sending on a datagram socket) no address was supplied. .It Er 58 ESHUTDOWN Em "Cannot send after socket shutdown" . @@ -399,7 +399,7 @@ An authentication ticket must be obtained before the given .Tn NFS filesystem may be mounted. .It Er 82 EIPSEC Em "IPsec processing failure" . -IPsec subsystem error, +IPsec subsystem error. Not used in .Ox . .It Er 83 ENOATTR Em "Attribute not found" . diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2 index 01a700b0efb..5eea03d33af 100644 --- a/lib/libc/sys/ktrace.2 +++ b/lib/libc/sys/ktrace.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ktrace.2,v 1.11 2002/06/06 15:41:46 mpech Exp $ +.\" $OpenBSD: ktrace.2,v 1.12 2003/02/25 08:26:38 jmc Exp $ .\" $NetBSD: ktrace.2,v 1.2 1995/02/27 12:33:58 cgd Exp $ .\" .\" Copyright (c) 1993 @@ -134,7 +134,7 @@ bytes of a .Fa ktr_type record. The type specific records are defined in the -.Pa <sys/ktrace.h> +.Aq Pa sys/ktrace.h include file. .Sh RETURN VALUES On successful completion a value of 0 is returned. diff --git a/lib/libc/sys/mlock.2 b/lib/libc/sys/mlock.2 index 90929ac3cb3..93536b36297 100644 --- a/lib/libc/sys/mlock.2 +++ b/lib/libc/sys/mlock.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mlock.2,v 1.11 2001/03/09 15:15:20 art Exp $ +.\" $OpenBSD: mlock.2,v 1.12 2003/02/25 08:26:38 jmc Exp $ .\" $NetBSD: mlock.2,v 1.3 1995/06/24 10:42:03 cgd Exp $ .\" .\" Copyright (c) 1993 @@ -124,6 +124,7 @@ limit for locked memory. Some portion of the indicated address range is not allocated. There was an error faulting/mapping a page. .El +.Pp .Fn munlock will fail if: .Bl -tag -width Er |