mirror of https://github.com/mkerrisk/man-pages
semctl.2: Correct description of sem_ctime field
Verified from inspection of kernel source code. Reported-by: Manfred Spraul <manfred@colorfullife.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
6fea5f4f1d
commit
5fd4345e84
|
@ -88,7 +88,8 @@ data structure is defined in \fI<sys/sem.h>\fP as follows:
|
|||
struct semid_ds {
|
||||
struct ipc_perm sem_perm; /* Ownership and permissions */
|
||||
time_t sem_otime; /* Last semop time */
|
||||
time_t sem_ctime; /* Last change time */
|
||||
time_t sem_ctime; /* Creation time/time of last
|
||||
modification via semctl() */
|
||||
unsigned long sem_nsems; /* No. of semaphores in set */
|
||||
};
|
||||
.EE
|
||||
|
@ -109,10 +110,13 @@ Time of last
|
|||
system call.
|
||||
.TP
|
||||
.I sem_ctime
|
||||
Time of last
|
||||
Time of creation of semaphore set or time of last
|
||||
.BR semctl ()
|
||||
system call that changed a member of the above structure or of one
|
||||
semaphore belonging to the set.
|
||||
.BR IPCSET ,
|
||||
.BR SETVAL ,
|
||||
or
|
||||
.BR SETVALL
|
||||
operation.
|
||||
.TP
|
||||
.I sem_nsems
|
||||
Number of semaphores in the set.
|
||||
|
|
Loading…
Reference in New Issue