Home
last modified time | relevance | path

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

/PHP-8.2/ext/sysvshm/
H A Dsysvshm.c134 zend_long shm_key, shm_id, shm_size, shm_flag = 0666; in PHP_FUNCTION() local
151 if ((shm_id = shmget(shm_key, 0, 0)) < 0) { in PHP_FUNCTION()
156 if ((shm_id = shmget(shm_key, shm_size, shm_flag | IPC_CREAT | IPC_EXCL)) < 0) { in PHP_FUNCTION()
181 shm_list_ptr->key = shm_key; in PHP_FUNCTION()
240 zend_long shm_key; in PHP_FUNCTION() local
284 zend_long shm_key; in PHP_FUNCTION() local
303 shm_varpos = php_check_shm_data(shm_list_ptr->ptr, shm_key); in PHP_FUNCTION()
325 zend_long shm_key; in PHP_FUNCTION() local
338 RETURN_BOOL(php_check_shm_data(shm_list_ptr->ptr, shm_key) >= 0); in PHP_FUNCTION()
346 zend_long shm_key, shm_varpos; in PHP_FUNCTION() local
[all …]
/PHP-8.2/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 5 milliseconds