sysvipc - Online Linux Manual PageSection : 7
Updated : 2022-10-30
Source : Linux man-pages 6.03

NAMEsysvipc − System V interprocess communication mechanisms

DESCRIPTIONSystem V IPC is the name given to three interprocess communication mechanisms that are widely available on UNIX systems: message queues, semaphore, and shared memory.

Message queuesSystem V message queues allow data to be exchanged in units called messages. Each message can have an associated priority. POSIX message queues provide an alternative API for achieving the same result; see mq_overview(7). The System V message queue API consists of the following system calls: msgget(2)  Create a new message queue or obtain the ID of an existing message queue. This call returns an identifier that is used in the remaining APIs. msgsnd(2)  Add a message to a queue. msgrcv(2)  Remove a message from a queue. msgctl(2)  Perform various control operations on a queue, including deletion.

Semaphore setsSystem V semaphores allow processes to synchronize their actions. System V semaphores are allocated in groups called sets; each semaphore in a set is a counting semaphore. POSIX semaphores provide an alternative API for achieving the same result; see sem_overview(7). The System V semaphore API consists of the following system calls: semget(2)  Create a new set or obtain the ID of an existing set. This call returns an identifier that is used in the remaining APIs. semop(2)  Perform operations on the semaphores in a set. semctl(2)  Perform various control operations on a set, including deletion.

Shared memory segmentsSystem V shared memory allows processes to share a region a memory (a "segment"). POSIX shared memory is an alternative API for achieving the same result; see shm_overview(7). The System V shared memory API consists of the following system calls: shmget(2)  Create a new segment or obtain the ID of an existing segment. This call returns an identifier that is used in the remaining APIs. shmat(2)  Attach an existing shared memory object into the calling process's address space. shmdt(2)  Detach a segment from the calling process's address space. shmctl(2)  Perform various control operations on a segment, including deletion.

IPC namespacesFor a discussion of the interaction of System V IPC objects and IPC namespaces, see ipc_namespaces(7).

SEE ALSOipcmk(1), ipcrm(1), ipcs(1), lsipc(1), ipc(2), msgctl(2), msgget(2), msgrcv(2), msgsnd(2), semctl(2), semget(2), semop(2), shmat(2), shmctl(2), shmdt(2), shmget(2), ftok(3), ipc_namespaces(7)
0
Johanes Gumabo
Data Size   :   11,238 byte
man-ipc.5Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 258,574
Visitor ID   :     :  
Visitor IP   :   18.223.239.65   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.