diff options
-rw-r--r-- | lib/libc/compat-43/setregid.3 | 8 | ||||
-rw-r--r-- | lib/libc/compat-43/setreuid.3 | 10 | ||||
-rw-r--r-- | lib/libc/compat-43/setruid.3 | 4 | ||||
-rw-r--r-- | lib/libc/crypt/arc4random.3 | 4 | ||||
-rw-r--r-- | lib/libc/db/man/dbopen.3 | 4 | ||||
-rw-r--r-- | lib/libc/gen/basename.3 | 17 | ||||
-rw-r--r-- | lib/libc/gen/dirname.3 | 4 | ||||
-rw-r--r-- | lib/libc/gen/fnmatch.3 | 16 | ||||
-rw-r--r-- | lib/libc/gen/ttyname.3 | 8 | ||||
-rw-r--r-- | lib/libc/hash/rmd160.3 | 4 | ||||
-rw-r--r-- | lib/libc/hash/sha1.3 | 4 | ||||
-rw-r--r-- | lib/libc/net/inet.3 | 4 | ||||
-rw-r--r-- | lib/libc/net/inet_net.3 | 4 | ||||
-rw-r--r-- | lib/libc/net/resolver.3 | 5 | ||||
-rw-r--r-- | lib/libc/rpc/rpc.3 | 7 | ||||
-rw-r--r-- | lib/libc/rpc/rpcauth.3 | 6 | ||||
-rw-r--r-- | lib/libc/rpc/xdr.3 | 6 | ||||
-rw-r--r-- | lib/libc/stdio/fgets.3 | 4 | ||||
-rw-r--r-- | lib/libc/stdlib/getenv.3 | 4 | ||||
-rw-r--r-- | lib/libc/sys/execve.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/kill.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/link.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/listen.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/mknod.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/msgget.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/semget.2 | 23 | ||||
-rw-r--r-- | lib/libc/sys/shmget.2 | 8 |
27 files changed, 95 insertions, 83 deletions
diff --git a/lib/libc/compat-43/setregid.3 b/lib/libc/compat-43/setregid.3 index 0659a4b5aac..9ba7b4b7763 100644 --- a/lib/libc/compat-43/setregid.3 +++ b/lib/libc/compat-43/setregid.3 @@ -29,20 +29,20 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: setregid.3,v 1.3 1999/05/23 14:10:57 aaron Exp $ +.\" $OpenBSD: setregid.3,v 1.4 1999/05/25 13:06:44 aaron Exp $ .\" .Dd March 10, 1991 .Dt SETREGID 3 .Os .Sh NAME .Nm setregid -.Nd set real and effective group ID's +.Nd set real and effective group IDs .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int .Fn setregid "int rgid" "int egid" .Sh DESCRIPTION -The real and effective group ID's of the current process +The real and effective group IDs of the current process are set to the arguments. Unprivileged users may change the real group ID to the effective group ID and vice-versa; only the super-user may @@ -60,7 +60,7 @@ the set-group-ID value. This function did not work correctly, and its purpose is now better served by the use of the .Fn setegid function (see -.Xr setuid 2 ). +.Xr setuid 2 ) . .Pp When setting the real and effective group IDs to the same value, the standard diff --git a/lib/libc/compat-43/setreuid.3 b/lib/libc/compat-43/setreuid.3 index 2bfd8883de0..5f4912f22e7 100644 --- a/lib/libc/compat-43/setreuid.3 +++ b/lib/libc/compat-43/setreuid.3 @@ -29,26 +29,26 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: setreuid.3,v 1.3 1999/05/23 14:10:58 aaron Exp $ +.\" $OpenBSD: setreuid.3,v 1.4 1999/05/25 13:06:44 aaron Exp $ .\" .Dd March 10, 1991 .Dt SETREUID 3 .Os .Sh NAME .Nm setreuid -.Nd set real and effective user ID's +.Nd set real and effective user IDs .Sh SYNOPSIS .Fd #include <unistd.h> .Ft int .Fn setreuid "int ruid" "int euid" .Sh DESCRIPTION -The real and effective user ID's of the +The real and effective user IDs of the current process are set according to the arguments. If .Fa ruid or .Fa euid -is -1, the current uid is filled in by the system. +is -1, the current UID is filled in by the system. Unprivileged users may change the real user ID to the effective user ID and vice-versa; only the super-user may make other changes. @@ -60,7 +60,7 @@ IDs in set-user-ID programs to temporarily relinquish the set-user-ID value. This purpose is now better served by the use of the .Fn seteuid function (see -.Xr setuid 2 ). +.Xr setuid 2 ) . .Pp When setting the real and effective user IDs to the same value, the standard .Fn setuid diff --git a/lib/libc/compat-43/setruid.3 b/lib/libc/compat-43/setruid.3 index 0905a6b7519..a2bd1913f4d 100644 --- a/lib/libc/compat-43/setruid.3 +++ b/lib/libc/compat-43/setruid.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: setruid.3,v 1.4 1999/05/23 14:10:58 aaron Exp $ +.\" $OpenBSD: setruid.3,v 1.5 1999/05/25 13:06:44 aaron Exp $ .\" .Dd April 19, 1991 .Dt SETRUID 3 @@ -55,7 +55,7 @@ of the current process to the specified value. Upon success, these functions return 0; otherwise \-1 is returned. .Pp -If the user is not the super user, or the uid (gid) specified is not +If the user is not the super user, or the UID (GID) specified is not the real or effective ID of the process, these functions return \-1. .Sh SEE ALSO diff --git a/lib/libc/crypt/arc4random.3 b/lib/libc/crypt/arc4random.3 index 7f427f7ba69..d9797d5d456 100644 --- a/lib/libc/crypt/arc4random.3 +++ b/lib/libc/crypt/arc4random.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: arc4random.3,v 1.7 1999/05/23 14:10:58 aaron Exp $ +.\" $OpenBSD: arc4random.3,v 1.8 1999/05/25 13:06:44 aaron Exp $ .\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> .\" All rights reserved. .\" @@ -36,7 +36,7 @@ .Nm arc4random, .Nm arc4random_stir, .Nm arc4random_addrandom -.Nd arc4 random number generator. +.Nd arc4 random number generator .Sh SYNOPSIS .Fd #include <stdlib.h> .Ft u_int32_t diff --git a/lib/libc/db/man/dbopen.3 b/lib/libc/db/man/dbopen.3 index 1479b07198d..9c725e60cf8 100644 --- a/lib/libc/db/man/dbopen.3 +++ b/lib/libc/db/man/dbopen.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dbopen.3,v 1.8 1999/05/23 14:10:58 aaron Exp $ +.\" $OpenBSD: dbopen.3,v 1.9 1999/05/25 13:06:44 aaron Exp $ .\" $NetBSD: dbopen.3,v 1.6 1995/02/27 13:23:25 cgd Exp $ .\" .\" Copyright (c) 1997, Phillip F Knaack. All rights reserved. @@ -141,7 +141,7 @@ and contains at least the following fields: .Pp .Bl -item -compact typedef struct { -.It. +.It .Bl -item -compact -inset -offset indent .It DBTYPE type; diff --git a/lib/libc/gen/basename.3 b/lib/libc/gen/basename.3 index 16df8057a57..ff72f029735 100644 --- a/lib/libc/gen/basename.3 +++ b/lib/libc/gen/basename.3 @@ -24,7 +24,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: basename.3,v 1.5 1999/05/14 12:40:23 alex Exp $ +.\" $OpenBSD: basename.3,v 1.6 1999/05/25 13:06:45 aaron Exp $ .\" .Dd August 17, 1997 .Dt BASENAME 3 @@ -42,19 +42,24 @@ The function returns the last componenent from the pathname pointed to by .Ar path , -deleting any trailing '/' characters. If +deleting any trailing +.Sq \&/ +characters. If .Ar path -consists entirely of '/' characters, a pointer to the string "/" +consists entirely of +.Sq \&/ +characters, a pointer to the string +.Qq \&/ is returned. If .Ar path -is a NULL pointer or the empty string, a pointer to the string "." +is a NULL pointer or the empty string, a pointer to the string +.Qq \&. is returned. .Sh RETURN VALUES On successful completion, .Fn basename returns a pointer to the last component of -.Ar path. -.Pp +.Ar path . .Pp If .Fn basename diff --git a/lib/libc/gen/dirname.3 b/lib/libc/gen/dirname.3 index a1391c28c3e..7e3978fe453 100644 --- a/lib/libc/gen/dirname.3 +++ b/lib/libc/gen/dirname.3 @@ -24,7 +24,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: dirname.3,v 1.2 1999/05/14 12:40:23 alex Exp $ +.\" $OpenBSD: dirname.3,v 1.3 1999/05/25 13:06:45 aaron Exp $ .\" .Dd August 17, 1997 .Dt DIRNAME 3 @@ -54,7 +54,7 @@ returns a pointer to the string ".", signifying the current directory. On successful completion, .Fn dirname returns a pointer to the parent directory of -.Ar path. +.Ar path . .Pp If .Fn dirname diff --git a/lib/libc/gen/fnmatch.3 b/lib/libc/gen/fnmatch.3 index 824ef43974e..69884fafbd2 100644 --- a/lib/libc/gen/fnmatch.3 +++ b/lib/libc/gen/fnmatch.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fnmatch.3,v 1.4 1997/09/22 05:03:29 millert Exp $ +.\" $OpenBSD: fnmatch.3,v 1.5 1999/05/25 13:06:45 aaron Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -93,14 +93,20 @@ must be explicitly matched by periods in .Fa pattern . If this flag is not set, then leading periods are treated as regular characters. -The definition of ``leading'' is related to the specification of -.Dv FNM_PATHNAME. -A period is always ``leading'' if it is the first character in +The definition of +.Dq leading +is related to the specification of +.Dv FNM_PATHNAME . +A period is always +.Dq leading +if it is the first character in .Ar string . Additionally, if .Dv FNM_PATHNAME is set, -a period is ``leading'' if it immediately follows a slash. +a period is +.Dq leading +if it immediately follows a slash. .It Dv FNM_LEADING_DIR Ignore .Nm /* diff --git a/lib/libc/gen/ttyname.3 b/lib/libc/gen/ttyname.3 index 728bc1509e3..75a67f8f0ac 100644 --- a/lib/libc/gen/ttyname.3 +++ b/lib/libc/gen/ttyname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ttyname.3,v 1.5 1998/11/20 11:18:40 d Exp $ +.\" $OpenBSD: ttyname.3,v 1.6 1999/05/25 13:06:45 aaron Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -61,9 +61,9 @@ and named .Pa /dev/tty Ns Em xx and for which an entry exists in the initialization file -.Pa /etc/ttys. -(See -.Xr ttys 5 . ) +.Pa /etc/ttys +(see +.Xr ttys 5 ) . .Pp The .Fn isatty diff --git a/lib/libc/hash/rmd160.3 b/lib/libc/hash/rmd160.3 index dca071796ad..47c2354dbcc 100644 --- a/lib/libc/hash/rmd160.3 +++ b/lib/libc/hash/rmd160.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rmd160.3,v 1.6 1999/04/18 23:31:01 wvdputte Exp $ +.\" $OpenBSD: rmd160.3,v 1.7 1999/05/25 13:06:45 aaron Exp $ .\" .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> .\" All rights reserved. @@ -86,7 +86,7 @@ function adds of length .Ar nbytes to the RMD160_CTX specified by -.Ar context. +.Ar context . .Fn RMD160Final is called when all data has been added via .Fn RMD160Update diff --git a/lib/libc/hash/sha1.3 b/lib/libc/hash/sha1.3 index 3c1577df312..1ab15159bf1 100644 --- a/lib/libc/hash/sha1.3 +++ b/lib/libc/hash/sha1.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sha1.3,v 1.11 1999/04/18 23:31:01 wvdputte Exp $ +.\" $OpenBSD: sha1.3,v 1.12 1999/05/25 13:06:45 aaron Exp $ .\" .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> .\" All rights reserved. @@ -83,7 +83,7 @@ function adds of length .Ar len to the SHA1_CTX specified by -.Ar context. +.Ar context . .Fn SHA1Final is called when all data has been added via .Fn SHA1Update diff --git a/lib/libc/net/inet.3 b/lib/libc/net/inet.3 index c5780142cf2..a9da73db3a8 100644 --- a/lib/libc/net/inet.3 +++ b/lib/libc/net/inet.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: inet.3,v 1.5 1999/05/23 14:11:01 aaron Exp $ +.\" $OpenBSD: inet.3,v 1.6 1999/05/25 13:06:45 aaron Exp $ .\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 @@ -182,7 +182,7 @@ rearrangement. All numbers supplied as .Dq parts in a -.Ql \&. +.Ql \&. notation may be decimal, octal, or hexadecimal, as specified in the C language (i.e., a leading 0x or 0X implies diff --git a/lib/libc/net/inet_net.3 b/lib/libc/net/inet_net.3 index 1a42aff6eae..df5c35017d3 100644 --- a/lib/libc/net/inet_net.3 +++ b/lib/libc/net/inet_net.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: inet_net.3,v 1.1 1997/06/23 03:37:26 millert Exp $ +.\" $OpenBSD: inet_net.3,v 1.2 1999/05/25 13:06:45 aaron Exp $ .\" $NetBSD: inet_net.3,v 1.1 1997/06/18 02:25:27 lukem Exp $ .\" .\" Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -131,7 +131,7 @@ rearrangement. All numbers supplied as .Dq parts in a -.Ql \&. +.Ql \&. notation may be decimal, octal, or hexadecimal, as specified in the C language (i.e., a leading 0x or 0X implies diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3 index 0932c3b4603..7c60ea4dcb9 100644 --- a/lib/libc/net/resolver.3 +++ b/lib/libc/net/resolver.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: resolver.3,v 1.10 1999/05/25 01:50:58 aaron Exp $ +.\" $OpenBSD: resolver.3,v 1.11 1999/05/25 13:06:45 aaron Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -301,7 +301,8 @@ as the name is compressed. If .Em dnptr is -.Dv NULL, names are not compressed. +.Dv NULL , +names are not compressed. If .Fa lastdnptr is diff --git a/lib/libc/rpc/rpc.3 b/lib/libc/rpc/rpc.3 index ae9727921f9..0ed7cf1e0bf 100644 --- a/lib/libc/rpc/rpc.3 +++ b/lib/libc/rpc/rpc.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rpc.3,v 1.17 1999/05/24 12:15:33 aaron Exp $ +.\" $OpenBSD: rpc.3,v 1.18 1999/05/25 13:06:45 aaron Exp $ .\" Mostly converted to mandoc by Theo de Raadt, Tue Feb 24 04:04:46 MST 1998 .\" .Dd February 16, 1988 @@ -1023,7 +1023,7 @@ will create a service on top of any open descriptor. Typically, this descriptor is a connected socket for a stream protocol such as -.Tn TCP. +.Tn TCP . .Fa sendsize and .Fa recvsize @@ -1055,7 +1055,8 @@ if it fails. This allows the user to specify the maximun packet size for sending and receiving .Tn UDP-based -.Tn RPC messages. +.Tn RPC +messages. .Pp .Fn xdr_accepted_reply is used for encoding diff --git a/lib/libc/rpc/rpcauth.3 b/lib/libc/rpc/rpcauth.3 index 37f36c9980f..de41af4e1d3 100644 --- a/lib/libc/rpc/rpcauth.3 +++ b/lib/libc/rpc/rpcauth.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rpcauth.3,v 1.2 1999/05/20 15:22:52 aaron Exp $ +.\" $OpenBSD: rpcauth.3,v 1.3 1999/05/25 13:06:46 aaron Exp $ .\" Mostly converted to mandoc by Theo de Raadt, Tue Feb 24 04:04:46 MST 1998 .\" .Dd February 16, 1988 @@ -40,7 +40,7 @@ creates and returns an authentication handle that passes nonusable authentication information with each remote procedure call. This is the default authentication used by -.Tn RPC. +.Tn RPC . .Pp .Fn authunix_create creates and returns an @@ -92,4 +92,4 @@ rpcgen Programming Guide .RE .Fa "RPC: Remote Procedure Call Protocol Specification" , .Tn RFC1050, Sun Microsystems, Inc., -.Tn USC-ISI. +.Tn USC-ISI . diff --git a/lib/libc/rpc/xdr.3 b/lib/libc/rpc/xdr.3 index 9b8d0a36d90..ac73fe4820e 100644 --- a/lib/libc/rpc/xdr.3 +++ b/lib/libc/rpc/xdr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: xdr.3,v 1.8 1998/09/06 22:23:19 aaron Exp $ +.\" $OpenBSD: xdr.3,v 1.9 1999/05/25 13:06:46 aaron Exp $ .\" Mostly converted to mandoc by Theo de Raadt, Tue Feb 24 04:04:46 MST 1998 .\" .Dd February 16, 1988 @@ -486,7 +486,7 @@ then the is called to translate the union. The end of the .Fa struct xdr_discrim structure array is denoted by a routine of value -.Tn NULL. +.Tn NULL . If the discriminant is not found in the .Fa choices array, then the @@ -544,4 +544,4 @@ eXternal Data Representation: Sun Technical Notes .br .Tn "XDR: External Data Representation Standard" , .Tn RFC1014, Sun Microsystems, Inc., -.Tn USC-ISI. +.Tn USC-ISI . diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3 index fabaf421a2e..37472c9f104 100644 --- a/lib/libc/stdio/fgets.3 +++ b/lib/libc/stdio/fgets.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fgets.3,v 1.4 1999/04/02 16:21:35 aaron Exp $ +.\" $OpenBSD: fgets.3,v 1.5 1999/05/25 13:06:46 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -88,7 +88,7 @@ return a pointer to the string. If end-of-file or an error occurs before any characters are read, they return -.Dv NULL. +.Dv NULL . The .Fn fgets and diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3 index ed89ccbe7d3..79556f30e87 100644 --- a/lib/libc/stdlib/getenv.3 +++ b/lib/libc/stdlib/getenv.3 @@ -33,7 +33,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: getenv.3,v 1.3 1998/11/10 22:27:30 espie Exp $ +.\" $OpenBSD: getenv.3,v 1.4 1999/05/25 13:06:46 aaron Exp $ .\" .Dd December 11, 1993 .Dt GETENV 3 @@ -86,7 +86,7 @@ If the variable .Ar name does not exist in the list, it is inserted with the given -.Ar value. +.Ar value . If the variable does exist, the argument .Ar overwrite is tested; if diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index c31f26ab9bd..326a7e9e829 100644 --- a/lib/libc/sys/execve.2 +++ b/lib/libc/sys/execve.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: execve.2,v 1.9 1999/05/23 14:10:51 aaron Exp $ +.\" $OpenBSD: execve.2,v 1.10 1999/05/25 13:06:46 aaron Exp $ .\" $NetBSD: execve.2,v 1.9 1995/02/27 12:32:25 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -103,7 +103,7 @@ The argument is also a pointer to a null-terminated array of character pointers to null-terminated strings. A pointer to this array is normally stored in the global variable -.Va environ. +.Va environ . These strings pass information to the new process that is not directly an argument to the command (see .Xr environ 7 ) . diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2 index 7b162ad06c9..04c51723f8a 100644 --- a/lib/libc/sys/kill.2 +++ b/lib/libc/sys/kill.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kill.2,v 1.7 1999/05/23 14:10:54 aaron Exp $ +.\" $OpenBSD: kill.2,v 1.8 1999/05/25 13:06:46 aaron Exp $ .\" $NetBSD: kill.2,v 1.7 1995/02/27 12:33:53 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -74,7 +74,7 @@ to any descendant of the current process. .It \&If Fa pid No \&is greater than zero : .Fa sig is sent to the process whose ID is equal to -.Fa pid. +.Fa pid . .It \&If Fa pid No \&is zero : .Fa sig is sent to all processes whose group ID is equal diff --git a/lib/libc/sys/link.2 b/lib/libc/sys/link.2 index a13ecfa210a..06cc9286bb1 100644 --- a/lib/libc/sys/link.2 +++ b/lib/libc/sys/link.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: link.2,v 1.8 1999/05/23 14:10:54 aaron Exp $ +.\" $OpenBSD: link.2,v 1.9 1999/05/25 13:06:46 aaron Exp $ .\" $NetBSD: link.2,v 1.7 1995/02/27 12:34:01 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -107,7 +107,7 @@ does not support links. The link count of the file named by .Fa name1 would exceed -.Dv {LINK_MAX}. +.Dv LINK_MAX . .It Bq Er EACCES A component of either path prefix denies search permission. .It Bq Er EACCES diff --git a/lib/libc/sys/listen.2 b/lib/libc/sys/listen.2 index ba6d59fcb96..5a2ad35a5e0 100644 --- a/lib/libc/sys/listen.2 +++ b/lib/libc/sys/listen.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: listen.2,v 1.5 1999/05/23 14:10:54 aaron Exp $ +.\" $OpenBSD: listen.2,v 1.6 1999/05/25 13:06:46 aaron Exp $ .\" $NetBSD: listen.2,v 1.7 1996/02/16 20:38:45 phil Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -60,7 +60,7 @@ The call applies only to sockets of type .Dv SOCK_STREAM or -.Dv SOCK_SEQPACKET. +.Dv SOCK_SEQPACKET . .Pp The .Fa backlog diff --git a/lib/libc/sys/mknod.2 b/lib/libc/sys/mknod.2 index 55ccb50fb65..5097bc7e70f 100644 --- a/lib/libc/sys/mknod.2 +++ b/lib/libc/sys/mknod.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mknod.2,v 1.5 1999/05/23 14:10:55 aaron Exp $ +.\" $OpenBSD: mknod.2,v 1.6 1999/05/25 13:06:46 aaron Exp $ .\" $NetBSD: mknod.2,v 1.6 1995/02/27 12:34:33 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -49,7 +49,7 @@ The device special file .Fa path is created with the major and minor device numbers extracted from -.Fa mode. +.Fa mode . The access permissions of .Fa path are descendant from the diff --git a/lib/libc/sys/msgget.2 b/lib/libc/sys/msgget.2 index 38e4ab0626c..88c39c10227 100644 --- a/lib/libc/sys/msgget.2 +++ b/lib/libc/sys/msgget.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: msgget.2,v 1.4 1999/03/02 15:40:37 aaron Exp $ +.\" $OpenBSD: msgget.2,v 1.5 1999/05/25 13:06:47 aaron Exp $ .\" $NetBSD: msgget.2,v 1.1 1995/10/16 23:49:19 jtc Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -54,7 +54,7 @@ is equal to IPC_PRIVATE, or .Fa key does not have a message queue identifier associated with it, and the IPC_CREAT bit is set in -.Fa msgflg. +.Fa msgflg . If a new message queue is created, the data structure associated with it (the .Va msqid_ds diff --git a/lib/libc/sys/semget.2 b/lib/libc/sys/semget.2 index 00863ab13c5..b22f85bf4c4 100644 --- a/lib/libc/sys/semget.2 +++ b/lib/libc/sys/semget.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: semget.2,v 1.5 1998/07/20 07:37:24 deraadt Exp $ +.\" $OpenBSD: semget.2,v 1.6 1999/05/25 13:06:47 aaron Exp $ .\" $NetBSD: semget.2,v 1.2 1997/03/27 08:20:41 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -47,7 +47,7 @@ The .Fn semget system call returns the semaphore identifier associated with .Fa key . - +.Pp A new set containing .Fa nsems semaphores is created if either @@ -56,26 +56,25 @@ is equal to IPC_PRIVATE, or .Fa key does not have a semaphore set associated with it and the IPC_CREAT bit is set in -.Fa semflg. - +.Fa semflg . +.Pp The access modes of the created semaphores is specified in .Fa semflg by .Em or Ns 'ing -the following values +the following values: .Pp .Bd -literal -offset indent -compact SEM_A alter permission for owner SEM_R read permission for owner - +.Pp SEM_A >> 3 alter permission for group SEM_R >> 3 read permission for group - +.Pp SEM_A >> 6 alter permission for other SEM_R >> 6 read permission for other .Ed .Pp - If a new set of semaphores is created, the data structure associated with it (the .Va semid_ds @@ -87,12 +86,12 @@ is intialized as follows: .Va sem_perm.cuid and .Va sem_perm.uid -are set to the effective uid of the calling process. +are set to the effective UID of the calling process. .It .Va sem_perm.gid and .Va sem_perm.cgid -are set to the effective gid of the calling process. +are set to the effective GID of the calling process. .It .Va sem_perm.mode is set to the lower 9 bits of @@ -118,7 +117,7 @@ is set to reflect the error. .Bl -tag -width Er .It Bq Er EACCES The caller has no permission to access a semaphore set already associated with -.Fa key. +.Fa key . .It Bq Er EEXIST Both IPC_CREAT and IPC_EXCL are set in .Fa semflg , @@ -128,7 +127,7 @@ and a semaphore set is already associated with .Va nsems is less than 0 or greater than the system limit for the number in a semaphore set. - +.Pp A semaphore set associated with .Fa key exists, but has fewer semaphores than the number specified in diff --git a/lib/libc/sys/shmget.2 b/lib/libc/sys/shmget.2 index 7b3ba520ce5..efca481c153 100644 --- a/lib/libc/sys/shmget.2 +++ b/lib/libc/sys/shmget.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: shmget.2,v 1.4 1999/03/02 15:40:37 aaron Exp $ +.\" $OpenBSD: shmget.2,v 1.5 1999/05/25 13:06:47 aaron Exp $ .\" $NetBSD: shmget.2,v 1.2 1997/03/27 08:20:39 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -46,15 +46,15 @@ .Fn shmget returns the shared memory identifier associated with the key .Fa key . - +.Pp A shared memory segment is created if either .Fa key is equal to IPC_PRIVATE, or .Fa key does not have a shared memory segment identifier associated with it, and the IPC_CREAT bit is set in -.Fa shmflg. - +.Fa shmflg . +.Pp If a new shared memory segment is created, the data structure associated with it (the .Va shmid_ds structure, see |