diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-02-21 09:14:38 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-02-21 09:14:38 +0000 |
commit | f5ec1d45b6a8360430e48b51e474884bcc58cbf2 (patch) | |
tree | 4705caf91bf5b5c64e3c95396184b308b8e50443 /lib/libc/sys | |
parent | 0324821cde144ac0c853b9d7aa430222e273a01a (diff) |
typos;
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/access.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/chflags.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/dup.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/fhopen.2 | 12 | ||||
-rw-r--r-- | lib/libc/sys/flock.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/getpeereid.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/getpeername.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/getpgrp.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/getsid.2 | 6 | ||||
-rw-r--r-- | lib/libc/sys/getsockname.2 | 8 |
10 files changed, 30 insertions, 32 deletions
diff --git a/lib/libc/sys/access.2 b/lib/libc/sys/access.2 index bd84c3892ed..99fc5f9e7b7 100644 --- a/lib/libc/sys/access.2 +++ b/lib/libc/sys/access.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: access.2,v 1.8 2000/10/18 05:12:08 aaron Exp $ +.\" $OpenBSD: access.2,v 1.9 2003/02/21 09:14:36 jmc Exp $ .\" $NetBSD: access.2,v 1.7 1995/02/27 12:31:44 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -70,7 +70,7 @@ are checked for access permissions (including .Pp The real user ID is used in place of the effective user ID and the real group access list -(including the real group ID) are +(including the real group ID) is used in place of the effective ID for verifying permission. .Pp Even if a process has appropriate privileges and indicates success for diff --git a/lib/libc/sys/chflags.2 b/lib/libc/sys/chflags.2 index 121a96b52ec..046c10fea21 100644 --- a/lib/libc/sys/chflags.2 +++ b/lib/libc/sys/chflags.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chflags.2,v 1.16 2001/11/29 18:51:25 millert Exp $ +.\" $OpenBSD: chflags.2,v 1.17 2003/02/21 09:14:37 jmc Exp $ .\" $NetBSD: chflags.2,v 1.6 1995/02/27 12:32:03 cgd Exp $ .\" .\" Copyright (c) 1989, 1993 @@ -98,7 +98,7 @@ Otherwise, \-1 is returned and the global variable is set to indicate the error. .Sh ERRORS .Fn chflags -will fail it: +will fail if: .Bl -tag -width Er .It Bq Er ENOTDIR A component of the path prefix is not a directory. diff --git a/lib/libc/sys/dup.2 b/lib/libc/sys/dup.2 index 63b3f3bfb55..d08981d2615 100644 --- a/lib/libc/sys/dup.2 +++ b/lib/libc/sys/dup.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dup.2,v 1.9 2002/02/08 18:46:12 art Exp $ +.\" $OpenBSD: dup.2,v 1.10 2003/02/21 09:14:37 jmc Exp $ .\" $NetBSD: dup.2,v 1.4 1995/02/27 12:32:21 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -113,7 +113,7 @@ fail if: .Fa oldd or .Fa newd -is not a valid active descriptor +is not a valid active descriptor. .It Bq Er EMFILE Too many descriptors are active. .El diff --git a/lib/libc/sys/fhopen.2 b/lib/libc/sys/fhopen.2 index 5182758c94c..4f5c085c602 100644 --- a/lib/libc/sys/fhopen.2 +++ b/lib/libc/sys/fhopen.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fhopen.2,v 1.4 2000/10/18 05:12:09 aaron Exp $ +.\" $OpenBSD: fhopen.2,v 1.5 2003/02/21 09:14:37 jmc Exp $ .\" $NetBSD: fhopen.2,v 1.2 1999/12/02 21:42:36 kleink Exp $ .\" .\" Copyright (c) 1999 National Aeronautics & Space Administration @@ -40,8 +40,6 @@ .Nm fhstat , .Nm fhstatfs .Nd access file via file handle -.Sh LIBRARY -.Lb libc .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <sys/stat.h> @@ -80,7 +78,7 @@ provide the functionality of the .Xr fstat 2 and .Xr fstatfs 2 -calls except that they return information for the file refered to by +calls except that they return information for the file referred to by .Fa fhp rather than an open file. .Sh RETURN VALUES @@ -119,10 +117,10 @@ The file handle is no longer valid. .El .Sh SEE ALSO -.Xr getfh 2 , -.Xr open 2 , .Xr fstat 2 , -.Xr fstatfs 2 +.Xr fstatfs 2 , +.Xr getfh 2 , +.Xr open 2 .Sh HISTORY The .Fn fhopen , diff --git a/lib/libc/sys/flock.2 b/lib/libc/sys/flock.2 index d3dfa03e5ce..1105f7323e3 100644 --- a/lib/libc/sys/flock.2 +++ b/lib/libc/sys/flock.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: flock.2,v 1.13 2002/04/30 16:31:42 mpech Exp $ +.\" $OpenBSD: flock.2,v 1.14 2003/02/21 09:14:37 jmc Exp $ .\" $NetBSD: flock.2,v 1.5 1995/02/27 12:32:32 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -63,8 +63,8 @@ or .Dv LOCK_EX with the optional addition of .Dv LOCK_NB . -To unlock an existing lock -.Dv operation +To unlock an existing lock, +.Fa operation should be .Dv LOCK_UN . .Pp @@ -132,7 +132,7 @@ is an invalid descriptor. .It Bq Er EINVAL The argument .Fa operation -have an invalid value. +has an invalid value. .It Bq Er EOPNOTSUPP The referenced descriptor is not of the correct type. .El diff --git a/lib/libc/sys/getpeereid.2 b/lib/libc/sys/getpeereid.2 index acdc4aeeaa3..a3275889fb1 100644 --- a/lib/libc/sys/getpeereid.2 +++ b/lib/libc/sys/getpeereid.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getpeereid.2,v 1.2 2001/06/27 08:16:55 aaron Exp $ +.\" $OpenBSD: getpeereid.2,v 1.3 2003/02/21 09:14:37 jmc Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -108,8 +108,8 @@ process address space. .Sh SEE ALSO .Xr accept 2 , .Xr bind 2 , -.Xr getsockname 2 , .Xr getpeername 2 , +.Xr getsockname 2 , .Xr socket 2 .Sh HISTORY The diff --git a/lib/libc/sys/getpeername.2 b/lib/libc/sys/getpeername.2 index b5503153b18..2dfed1ae074 100644 --- a/lib/libc/sys/getpeername.2 +++ b/lib/libc/sys/getpeername.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getpeername.2,v 1.16 2001/06/26 19:56:52 dugsong Exp $ +.\" $OpenBSD: getpeername.2,v 1.17 2003/02/21 09:14:37 jmc Exp $ .\" $NetBSD: getpeername.2,v 1.6 1995/10/12 15:40:56 jtc Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -79,7 +79,7 @@ should be used. .Li sockaddr_storage is large enough to hold any of the other sockaddr_* variants. On return, it can be cast to the correct sockaddr type, -based the protocol family contained in its ss_family field. +based on the protocol family contained in its ss_family field. .Pp .Fa namelen Indicates the amount of space pointed to by @@ -131,8 +131,8 @@ process address space. .Sh SEE ALSO .Xr accept 2 , .Xr bind 2 , -.Xr getsockname 2 , .Xr getpeereid 2 , +.Xr getsockname 2 , .Xr socket 2 .Sh HISTORY The diff --git a/lib/libc/sys/getpgrp.2 b/lib/libc/sys/getpgrp.2 index 8cd6c20bb89..3641131fe4c 100644 --- a/lib/libc/sys/getpgrp.2 +++ b/lib/libc/sys/getpgrp.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getpgrp.2,v 1.9 2002/04/30 16:31:42 mpech Exp $ +.\" $OpenBSD: getpgrp.2,v 1.10 2003/02/21 09:14:37 jmc Exp $ .\" $NetBSD: getpgrp.2,v 1.8 1995/02/27 12:33:09 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -78,11 +78,11 @@ always succeeds, however will succeed unless: .Bl -tag -width Er .It Bq Er EPERM -if the current process and the process +The current process and the process .Fa pid are not in the same session. .It Bq Er ESRCH -if there is no process with a process ID equal to +There is no process with a process ID equal to .Fa pid . .El .Sh SEE ALSO diff --git a/lib/libc/sys/getsid.2 b/lib/libc/sys/getsid.2 index 31a66c93e5e..4850faaba66 100644 --- a/lib/libc/sys/getsid.2 +++ b/lib/libc/sys/getsid.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getsid.2,v 1.8 2000/09/12 17:30:45 millert Exp $ +.\" $OpenBSD: getsid.2,v 1.9 2003/02/21 09:14:37 jmc Exp $ .\" .\" Copyright (c) 1997 Peter Wemm <peter@freebsd.org> .\" @@ -57,11 +57,11 @@ to indicate an error. will succeed unless: .Bl -tag -width Er .It Bq Er EPERM -if the current process and the process +The current process and the process .Fa pid are not in the same session. .It Bq Er ESRCH -if there is no process with a process ID equal to +There is no process with a process ID equal to .Fa pid . .El .Sh SEE ALSO diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2 index 53063291132..3a7a62d8492 100644 --- a/lib/libc/sys/getsockname.2 +++ b/lib/libc/sys/getsockname.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getsockname.2,v 1.17 2003/01/05 20:07:44 deraadt Exp $ +.\" $OpenBSD: getsockname.2,v 1.18 2003/02/21 09:14:37 jmc Exp $ .\" $NetBSD: getsockname.2,v 1.6 1995/10/12 15:41:00 jtc Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -73,11 +73,11 @@ can be used. .Fn getsockname takes three parameters: .Pp -.Fa s , +.Fa s Contains the file descriptor for the socket to be looked up. .Pp .Fa name -points to a +Points to a .Li sockaddr structure which will hold the resulting address information. Normal use requires one to use a structure @@ -150,8 +150,8 @@ process address space. .Sh SEE ALSO .Xr accept 2 , .Xr bind 2 , -.Xr getpeername 2 , .Xr getpeereid 2 , +.Xr getpeername 2 , .Xr socket 2 .Sh BUGS Names bound to sockets in the UNIX domain are inaccessible; |