Help for this page

Select Code to Download


  1. or download this
    
    sub read
    ...
        return shmwrite($self->id, $str, $pos, $size);
      }
    }
    
  2. or download this
    read ( POS, SIZE )
    
    ...
    write ( STRING, POS, SIZE )
    
    Write SIZE bytes to the shared memory segment at POS . Returns true if
    + successful, or false if there is an error. See shmwrite.
    
  3. or download this
    $shm->write(pack("S", 4711), 2, 2);
    
  4. or download this
    S  An unsigned short value.