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) - mojave
shmdt(2) - mojave
shmctl(2) - ultrix
shmat(2) - hpux
shmdt(2) - osx
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Nicki Paul to the Moderator Team!