{
    "mode": "man",
    "parameter": "sysvipc",
    "section": "7",
    "url": "https://www.chedong.com/phpMan.php/man/sysvipc/7/json",
    "generated": "2026-09-18T11:26:52Z",
    "sections": {
        "NAME": {
            "content": "sysvipc - System V interprocess communication mechanisms\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "System V IPC is the name given to three interprocess communication mechanisms that are widely\navailable on UNIX systems: message queues, semaphore, and shared memory.\n",
            "subsections": [
                {
                    "name": "Message queues",
                    "content": "System  V  message  queues allow data to be exchanged in units called messages.  Each message\ncan have an associated priority.  POSIX message queues provide an alternative API for achiev‐\ning the same result; see mqoverview(7).\n\nThe System V message queue API consists of the following system calls:\n\nmsgget(2)\nCreate a new message queue or obtain the ID of an existing message queue.   This  call\nreturns an identifier that is used in the remaining APIs.\n\nmsgsnd(2)\nAdd a message to a queue.\n\nmsgrcv(2)\nRemove a message from a queue.\n\nmsgctl(2)\nPerform various control operations on a queue, including deletion.\n"
                },
                {
                    "name": "Semaphore sets",
                    "content": "System  V  semaphores  allow processes to synchronize their actions.  System V semaphores are\nallocated in groups called sets; each semaphore in a set is a counting semaphore.  POSIX sem‐\naphores provide an alternative API for achieving the same result; see semoverview(7).\n\nThe System V semaphore API consists of the following system calls:\n\nsemget(2)\nCreate a new set or obtain the ID of an existing set.  This call returns an identifier\nthat is used in the remaining APIs.\n\nsemop(2)\nPerform operations on the semaphores in a set.\n\nsemctl(2)\nPerform various control operations on a set, including deletion.\n"
                },
                {
                    "name": "Shared memory segments",
                    "content": "System V shared memory allows processes to share a region  a  memory  (a  \"segment\").   POSIX\nshared memory is an alternative API for achieving the same result; see shmoverview(7).\n\nThe System V shared memory API consists of the following system calls:\n\nshmget(2)\nCreate  a  new  segment or obtain the ID of an existing segment.  This call returns an\nidentifier that is used in the remaining APIs.\n\nshmat(2)\nAttach an existing shared memory object into the calling process's address space.\n\nshmdt(2)\nDetach a segment from the calling process's address space.\n\nshmctl(2)\nPerform various control operations on a segment, including deletion.\n"
                },
                {
                    "name": "IPC namespaces",
                    "content": "For a discussion of the interaction of System V IPC objects and IPC namespaces, see ipcname‐\nspaces(7).\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "ipcmk(1), ipcrm(1), ipcs(1), lsipc(1), ipc(2), msgctl(2),  msgget(2),  msgrcv(2),  msgsnd(2),\nsemctl(2),  semget(2), semop(2), shmat(2), shmctl(2), shmdt(2), shmget(2), ftok(3), ipcname‐\nspaces(7)\n\nLinux man-pages 6.7                          2023-10-31                                   sysvipc(7)",
            "subsections": []
        }
    },
    "summary": "sysvipc - System V interprocess communication mechanisms",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "ipcmk",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ipcmk/1/json"
        },
        {
            "name": "ipcrm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ipcrm/1/json"
        },
        {
            "name": "ipcs",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ipcs/1/json"
        },
        {
            "name": "lsipc",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/lsipc/1/json"
        },
        {
            "name": "ipc",
            "section": "2",
            "url": "https://www.chedong.com/phpMan.php/man/ipc/2/json"
        },
        {
            "name": "msgctl",
            "section": "2",
            "url": "https://www.chedong.com/phpMan.php/man/msgctl/2/json"
        },
        {
            "name": "msgget",
            "section": "2",
            "url": "https://www.chedong.com/phpMan.php/man/msgget/2/json"
        },
        {
            "name": "msgrcv",
            "section": "2",
            "url": "https://www.chedong.com/phpMan.php/man/msgrcv/2/json"
        },
        {
            "name": "msgsnd",
            "section": "2",
            "url": "https://www.chedong.com/phpMan.php/man/msgsnd/2/json"
        },
        {
            "name": "semctl",
            "section": "2",
            "url": "https://www.chedong.com/phpMan.php/man/semctl/2/json"
        },
        {
            "name": "semget",
            "section": "2",
            "url": "https://www.chedong.com/phpMan.php/man/semget/2/json"
        },
        {
            "name": "semop",
            "section": "2",
            "url": "https://www.chedong.com/phpMan.php/man/semop/2/json"
        },
        {
            "name": "shmat",
            "section": "2",
            "url": "https://www.chedong.com/phpMan.php/man/shmat/2/json"
        },
        {
            "name": "shmctl",
            "section": "2",
            "url": "https://www.chedong.com/phpMan.php/man/shmctl/2/json"
        },
        {
            "name": "shmdt",
            "section": "2",
            "url": "https://www.chedong.com/phpMan.php/man/shmdt/2/json"
        },
        {
            "name": "shmget",
            "section": "2",
            "url": "https://www.chedong.com/phpMan.php/man/shmget/2/json"
        },
        {
            "name": "ftok",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/ftok/3/json"
        },
        {
            "name": "spaces",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/spaces/7/json"
        }
    ]
}