X-Git-Url: http://git.osdn.net/view?p=linuxjm%2FLDP_man-pages.git;a=blobdiff_plain;f=original%2Fman2%2Fshmctl.2;h=58f671465e236fbc2b55f3076a653125855f6482;hp=739689d161640b9d3daf0822b8a94af99d18ad08;hb=4ea6bb24817f6f049d6bbc90ecd77a869876f9b0;hpb=71bb2920a65c5c30552c13bc5bf95fa86af82a56 diff --git a/original/man2/shmctl.2 b/original/man2/shmctl.2 index 739689d1..58f67146 100644 --- a/original/man2/shmctl.2 +++ b/original/man2/shmctl.2 @@ -57,7 +57,7 @@ shmctl \- System V shared memory control .BR shmctl () performs the control operation specified by .I cmd -on the System V shared memory segment whose identifier is given in +on the System\ V shared memory segment whose identifier is given in .IR shmid . .PP The @@ -136,8 +136,8 @@ of the shared memory segment, or the caller must be privileged. .TP .B IPC_RMID Mark the segment to be destroyed. -The segment will only actually be destroyed -after the last process detaches it (i.e., when the +The segment will actually be destroyed +only after the last process detaches it (i.e., when the .I shm_nattch member of the associated structure .I shmid_ds @@ -164,7 +164,7 @@ in .BR proc (5). .TP 10 .BR IPC_INFO " (Linux-specific)" -Returns information about system-wide shared memory limits and +Return information about system-wide shared memory limits and parameters in the structure pointed to by .IR buf . This structure is of type @@ -178,7 +178,7 @@ feature test macro is defined: .nf .in +4n -struct shminfo { +struct shminfo { unsigned long shmmax; /* Maximum segment size */ unsigned long shmmin; /* Minimum segment size; always 1 */ @@ -204,7 +204,7 @@ files of the same name; see for details. .TP .BR SHM_INFO " (Linux-specific)" -Returns a +Return a .I shm_info structure whose fields contain information about system resources consumed by shared memory. @@ -234,7 +234,7 @@ struct shm_info { .fi .TP .BR SHM_STAT " (Linux-specific)" -Returns a +Return a .I shmid_ds structure as for .BR IPC_STAT . @@ -401,7 +401,7 @@ and operations are used by the .BR ipcs (1) program to provide information on allocated resources. -In the future these may modified or moved to a +In the future, these may modified or moved to a .I /proc filesystem interface. @@ -432,3 +432,12 @@ flag in .BR shmop (2), .BR capabilities (7), .BR svipc (7) +.SH COLOPHON +This page is part of release 3.79 of the Linux +.I man-pages +project. +A description of the project, +information about reporting bugs, +and the latest version of this page, +can be found at +\%http://www.kernel.org/doc/man\-pages/.