From 9d2aa84a7ad0a2b35c0f60cb92df273ced7fb87a Mon Sep 17 00:00:00 2001 From: kib Date: Thu, 5 Mar 2009 12:04:42 +0000 Subject: Hopefully, improve the grammar and wording in the changes to shmctl(2) manpage and UPDATING entry 20090302. UPDATING changes suggested by bf2006a yahoo com. man page corrections by bde. --- lib/libc/sys/shmctl.2 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/sys/shmctl.2 b/lib/libc/sys/shmctl.2 index 3e19666..2ac7d05 100644 --- a/lib/libc/sys/shmctl.2 +++ b/lib/libc/sys/shmctl.2 @@ -134,12 +134,13 @@ Permission denied due to mismatch between operation and mode of shared memory segment. .El .Sh "BUGS" +The segment size has size_t type. The shm_segsz member of the .Vt shmid_ds -structure has int type, that is too short to represent full range -of the values for segment size, which is allowed to be size_t. -If shared memory limits are raised to allow segments with size > 2 Gb -to be created, be aware that IPC_STAT call may return truncated value +structure has type int, which is too short to represent the full range +of values for a segment size. +If shared memory limits are raised to allow segments with size > 2 GB +to be created, be aware that IPC_STAT call may return a truncated value for shm_segsz. .El .Sh "SEE ALSO" -- cgit v1.1