update lock clucknut
All checks were successful
All checks were successful
This commit is contained in:
@@ -5,10 +5,7 @@
|
||||
use Safe\Exceptions\ShmopException;
|
||||
|
||||
/**
|
||||
* shmop_delete is used to delete a shared memory block.
|
||||
*
|
||||
* @param \Shmop $shmop The shared memory block resource created by
|
||||
* shmop_open
|
||||
* @param \Shmop $shmop
|
||||
* @throws ShmopException
|
||||
*
|
||||
*/
|
||||
@@ -23,17 +20,10 @@ function shmop_delete(\Shmop $shmop): void
|
||||
|
||||
|
||||
/**
|
||||
* shmop_read will read a string from shared memory block.
|
||||
*
|
||||
* @param \Shmop $shmop The shared memory block identifier created by
|
||||
* shmop_open
|
||||
* @param int $offset Offset from which to start reading; must be greater than or equal to zero
|
||||
* and less than or equal to the actual size of the shared memory segment.
|
||||
* @param int $size The number of bytes to read; must be greater than or equal to zero,
|
||||
* and the sum of offset and size
|
||||
* must be less than or equal to the actual size of the shared memory segment.
|
||||
* 0 reads shmop_size($shmid) - $start bytes.
|
||||
* @return string Returns the data.
|
||||
* @param \Shmop $shmop
|
||||
* @param int $offset
|
||||
* @param int $size
|
||||
* @return string
|
||||
*
|
||||
*/
|
||||
function shmop_read(\Shmop $shmop, int $offset, int $size): string
|
||||
|
||||
Reference in New Issue
Block a user