Clarify that "unused" fields in shminfo structure are

"unused within the kernel".
Minor rewordings in comments for shminfo structure.
This commit is contained in:
Michael Kerrisk 2008-05-20 21:20:38 +00:00
parent ffc19357d9
commit ba1eb78cfb
1 changed files with 9 additions and 8 deletions

View File

@ -40,7 +40,7 @@
.\" attaches to a segment that has already been marked for deletion.
.\" 2005-08-02, mtk: Added IPC_INFO, SHM_INFO, SHM_STAT descriptions.
.\"
.TH SHMCTL 2 2005-05-30 "Linux" "Linux Programmer's Manual"
.TH SHMCTL 2 2008-05-20 "Linux" "Linux Programmer's Manual"
.SH NAME
shmctl \- shared memory control
.SH SYNOPSIS
@ -168,13 +168,14 @@ feature test macro is defined:
.in +4n
struct shminfo {
unsigned long shmmax; /* Max. segment size */
unsigned long shmmin; /* Min. segment size; always 1 */
unsigned long shmmni; /* Max. # of segments */
unsigned long shmseg; /* Max. # of segments that a
process can attach; unused */
unsigned long shmall; /* Max. # of pages of shared
memory, system-wide */
unsigned long shmmax; /* Maximum segment size */
unsigned long shmmin; /* Minimum segment size; always 1 */
unsigned long shmmni; /* Maximum number of segments */
unsigned long shmseg; /* Maximum number of segments that
a process can attach; unused
within kernel */
unsigned long shmall; /* Maximum number of pages of
shared memory, system-wide */
};
.in