mirror of https://github.com/mkerrisk/man-pages
Clarify that "unused" fields in shminfo structure are
"unused within the kernel". Minor rewordings in comments for shminfo structure.
This commit is contained in:
parent
ffc19357d9
commit
ba1eb78cfb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue