Estratto del documento
shmctl - shared memory control operations
The shmctl()
function provides a variety of shared memory control operations as specified by cmd
. The following values for cmd
are available:
IPC_STAT
: Place the current value of each member of the data structure associated withshmid_ds
into the structure pointed to bybuf
. The contents of the structure are defined in<sys/shm.h>
.IPC_SET
: Set the value of the following members of the data structure associated withshmid_ds
to the corresponding value found in the structure pointed to bybuf
:shm_perm.uid
,shm_perm.gid
,shm_perm.mode
(low-order nine bits).IPC_SET
can only be executed by a process that has an effective user ID equal to either that of a process with appropriate privileges or to the
Anteprima
Vedrai una selezione di 1 pagina su 2
Dettagli
SSD
Scienze matematiche e informatiche
INF/01 Informatica
I contenuti di questa pagina costituiscono rielaborazioni personali del
Publisher N. A. di informazioni apprese con la frequenza delle lezioni
di Sistemi operativi e studio autonomo di eventuali libri di riferimento in preparazione
dell'esame finale o della tesi. Non devono intendersi come materiale ufficiale
dell'università Università degli studi di Napoli Federico II o del prof Cotroneo Domenico.
-
Sistemi operativi - Syscall fork
-
Sistemi operativi - Syscall fprintf
-
Sistemi operativi - Syscall memcpy
-
Sistemi operativi - Syscall msgsnd