Home
Search Perl pages
Subjects
By activity
Professions, Sciences, Humanities, Business, ...
User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...
Text Strings
Conversions, tests, processing, manipulation,...
Math
Integer, Floating point, Matrix, Statistics, Boolean, ...
Processing
Algorithms, Memory, Process control, Debugging, ...
Stored Data
Data storage, Integrity, Encryption, Compression, ...
Communications
Networks, protocols, Interprocess, Remote, Client Server, ...
Hard World Timing, Calendar and Clock, Audio, Video, Printer, Controls...
File System
Management, Filtering, File & Directory access, Viewers, ...
|
|
|
shmread ID,VAR,POS,SIZE
shmwrite ID,STRING,POS,SIZE
Reads or writes the System
V shared memory segment
ID starting at position
POS for size
SIZE by attaching to it, copying in/out, and detaching from it. When reading,
VAR must be a variable which will hold the data read. When writing, if
STRING is too long, only
SIZE bytes are used; if
STRING is too short, nulls are written to fill out
SIZE bytes. Return
TRUE if successful, or
FALSE if there is an error.
Source: Perl builtin functions Copyright: Larry Wall, et al. |
Next: shmwrite ID,STRING,POS,SIZE
Previous: shmget KEY,SIZE,FLAGS
(Corrections, notes, and links courtesy of RocketAware.com)
Up to: Local Process Communication Up to: Memory blocks (Sometimes called "Byte Strings")
Rapid-Links:
Search | About | Comments | Submit Path: RocketAware > Perl >
perlfunc/shmread.htm
RocketAware.com is a service of Mib Software Copyright 2000, Forrest J. Cavalier III. All Rights Reserved. We welcome submissions and comments
|