|ftok( PATH )|
|ftok( PATH, ID )||
Return a key based on PATH and ID, which can be used as a key for
msgget, semget and shmget. See ftok.
If ID is omitted, it defaults to 1. If a single character is given for ID, the numeric value of that character is used.
|shmat( ID, ADDR, FLAG )||
Attach the shared memory segment identified by ID to the address
space of the calling process. See shmat.
ADDR should be undef unless you really know what youre doing.
|shmdt( ADDR )||Detach the shared memory segment located at the address specified by ADDR from the address space of the calling process. See shmdt.|
|memread( ADDR, VAR, POS, SIZE )||Reads SIZE bytes from a memory segment at ADDR starting at position POS. VAR must be a variable that will hold the data read. Returns true if successful, or false if there is an error. memread() taints the variable.|
|memwrite( ADDR, STRING, POS, SIZE )||Writes SIZE bytes from STRING to a memory segment at ADDR starting at position POS. If STRING is too long, only SIZE bytes are used; if STRING is too short, nulls are written to fill out SIZE bytes. Returns true if successful, or false if there is an error.|
IPC::Msg, IPC::Semaphore, IPC::SharedMem, ftok, shmat, shmdt
Graham Barr <firstname.lastname@example.org>, Jarkko Hietaniemi <email@example.com>, Marcus Holland-Moritz <firstname.lastname@example.org>
Version 2.x, Copyright (C) 2007-2013, Marcus Holland-Moritz.
Version 1.x, Copyright (c) 1997, Graham Barr.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|perl v5.22.1||IPC::SYSV (3)||2015-10-17|