6.4 System V IPC Next: 6.4.1 Fundamental Concepts
Up: 6 Linux Interprocess Communications
Previous: 6.3.5 The Infamous SIGPIPE6.4 System V IPC6.4.1 Fundamental ConceptsIPC IdentifiersIPC KeysThe ipcs CommandThe ipcrm Command6.4.2 Message QueuesBasic ConceptsInternal and User Data StructuresMessage bufferKernel msg structureKernel msqid_ds structureKernel ipc_perm structureSYSTEM CALL: msgget()SYSTEM CALL: msgsnd()SYSTEM CALL: msgctl()msgtool: An interactive message queue manipulatorBackgroundCommand Line SyntaxSending MessagesRetrieving MessagesChanging the Permissions (mode)Deleting a QueueExamplesThe Source6.4.3 SemaphoresBasic ConceptsInternal Data StructuresKernel semid_ds structureKernel sem structureSYSTEM CALL: semget()SYSTEM CALL: semop()SYSTEM CALL: semctl()semtool: An interactive semaphore manipulatorBackgroundCommand Line SyntaxCreating a Semaphore SetLocking a SemaphoreUnlocking a SemaphoreChanging the Permissions (mode)Deleting a Semaphore SetExamplesThe Sourcesemstat: A semtool companion program6.4.4 Shared MemoryBasic ConceptsInternal and User Data StructuresKernel shmid_ds structureSYSTEM CALL: shmget()SYSTEM CALL: shmat()SYSTEM CALL: shmctl()SYSTEM CALL: shmdt()shmtool: An interactive shared memory manipulatorBackgroundCommand Line SyntaxWriting strings to the segmentRetrieving strings from the segmentChanging the Permissions (mode)Deleting the segmentExamplesThe SourceConverted on:Fri Mar 29 14:43:04 EST 1996