diff options
author | Mike Pechkin <mpech@cvs.openbsd.org> | 2002-04-30 16:31:43 +0000 |
---|---|---|
committer | Mike Pechkin <mpech@cvs.openbsd.org> | 2002-04-30 16:31:43 +0000 |
commit | 53d632a56390b1be823ac94e26c8cbea0b0886ed (patch) | |
tree | c883cb4deabbed473bc5d3a0faba13f99da8281f /lib/libc/sys/shmget.2 | |
parent | 98acfc3b963a7db3fbfdedc7829303261eb50d63 (diff) |
Initial cleanup:
o) remove extra space in the end of line;
o) remove extra blank lines in the end of file;
o) remove .Pp before .Ss;
o) CAVEAT -> CAVEATS;
o) fix usage of .Fa;
o) <blank-line> -> .Pp;
o) wrap long lines;
millert@ ok
Diffstat (limited to 'lib/libc/sys/shmget.2')
-rw-r--r-- | lib/libc/sys/shmget.2 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/sys/shmget.2 b/lib/libc/sys/shmget.2 index f6dfc64dae1..aa5956a42b6 100644 --- a/lib/libc/sys/shmget.2 +++ b/lib/libc/sys/shmget.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: shmget.2,v 1.9 2001/08/25 17:54:34 hugh Exp $ +.\" $OpenBSD: shmget.2,v 1.10 2002/04/30 16:31:42 mpech Exp $ .\" $NetBSD: shmget.2,v 1.2 1997/03/27 08:20:39 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -58,7 +58,8 @@ does not have a shared memory segment identifier associated with it, and the bit is set in .Fa shmflg . .Pp -If a new shared memory segment is created, the data structure associated with it (the +If a new shared memory segment is created, the data structure associated with +it (the .Va shmid_ds structure, see .Xr shmctl 2 ) @@ -94,7 +95,8 @@ is set to the value of .Fa size . .El .Sh RETURN VALUES -Upon successful completion a positive shared memory segment identifier is returned. +Upon successful completion a positive shared memory segment identifier is +returned. Otherwise, \-1 is returned and the global variable .Va errno is set to indicate the error. |