Home
last modified time | relevance | path

Searched refs:shm_key (Results 1 – 2 of 2) sorted by relevance

/php-src/ext/sysvshm/
H A Dsysvshm.c133 zend_long shm_key, shm_id, shm_size, shm_flag = 0666; in PHP_FUNCTION() local
150 if ((shm_id = shmget(shm_key, 0, 0)) < 0) { in PHP_FUNCTION()
155 if ((shm_id = shmget(shm_key, shm_size, shm_flag | IPC_CREAT | IPC_EXCL)) < 0) { in PHP_FUNCTION()
180 shm_list_ptr->key = shm_key; in PHP_FUNCTION()
239 zend_long shm_key; in PHP_FUNCTION() local
283 zend_long shm_key; in PHP_FUNCTION() local
302 shm_varpos = php_check_shm_data(shm_list_ptr->ptr, shm_key); in PHP_FUNCTION()
324 zend_long shm_key; in PHP_FUNCTION() local
337 RETURN_BOOL(php_check_shm_data(shm_list_ptr->ptr, shm_key) >= 0); in PHP_FUNCTION()
345 zend_long shm_key, shm_varpos; in PHP_FUNCTION() local
[all …]
/php-src/ext/shmop/tests/
H A Dgh14537.phpt13 $shm_key = ftok(__FILE__, 'p');
15 $shm_id1 = shmop_open($shm_key, 'c', 0644, strlen($str));
19 $shm_id2 = shmop_open($shm_key, 'c', 0644, strlen($str) + 10);

Completed in 12 milliseconds