Query: shmop_write
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SHMOP_WRITE(3) 1 SHMOP_WRITE(3) shmop_write - Write data into shared memory blockSYNOPSISint shmop_write (int $shmid, string $data, int $offset)DESCRIPTIONshmop_write(3) will write a string into shared memory block.PARAMETERSo $shmid - The shared memory block identifier created by shmop_open(3) o $data - A string to write into shared memory block o $offset - Specifies where to start writing data inside the shared memory segment.RETURN VALUESThe size of the written $data, or FALSE on failure.EXAMPLESExample #1 Writing to shared memory block <?php $shm_bytes_written = shmop_write($shm_id, $my_string, 0); ?> This example will write data inside $my_string into shared memory block, $shm_bytes_written will contain the number of bytes written.SEE ALSOshmop_read(3). PHP Documentation Group SHMOP_WRITE(3)
Related Man Pages |
---|
shmctl(2) - ultrix |
shmat(2) - ultrix |
shmdt(2) - ultrix |
shmat(2) - opendarwin |
shmdt(2) - hpux |