shmop_read(3) php man page | unix.com

Man Page: shmop_read

Operating Environment: php

Section: 3

SHMOP_READ(3)								 1							     SHMOP_READ(3)

shmop_read - Read data from shared memory block

SYNOPSIS
string shmop_read (int $shmid, int $start, int $count)
DESCRIPTION
shmop_read(3) will read a string from shared memory block.
PARAMETERS
o $shmid - The shared memory block identifier created by shmop_open(3) o $start - Offset from which to start reading o $count - The number of bytes to read
RETURN VALUES
Returns the data or FALSE on failure.
EXAMPLES
Example #1 Reading shared memory block <?php $shm_data = shmop_read($shm_id, 0, 50); ?> This example will read 50 bytes from shared memory block and place the data inside $shm_data.
SEE ALSO
shmop_write(3). PHP Documentation Group SHMOP_READ(3)
Related Man Pages
shmat(2) - ultrix
shmdt(2) - ultrix
shmat(2) - opendarwin
shmat(2) - hpux
shmdt(2) - osx
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Denial Of Service Attack Update