Searched refs:wouldblock (Results 1 – 5 of 5) sorted by relevance
/PHP-8.1/ext/standard/tests/file/ |
H A D | bug65272.phpt | 2 Bug #65272: flock() correctly sets wouldblock out param in windows 12 var_dump(flock($fp2, LOCK_EX|LOCK_NB, $wouldblock)); 13 var_dump($wouldblock);
|
H A D | flock_variation.phpt | 6 wouldblock values ***\n"; 48 foreach($wouldblocks as $wouldblock) { 50 var_dump(flock($fp, $operation, $wouldblock)); 63 wouldblock values ***
|
/PHP-8.1/ext/standard/ |
H A D | file.h | 48 zval *wouldblock, zval *return_value);
|
H A D | file.c | 337 uint32_t operation_arg_num, zval *wouldblock, zval *return_value) in php_flock_common() argument 348 if (wouldblock) { in php_flock_common() 349 ZEND_TRY_ASSIGN_REF_LONG(wouldblock, 0); in php_flock_common() 355 if (operation && errno == EWOULDBLOCK && wouldblock) { in php_flock_common() 356 ZEND_TRY_ASSIGN_REF_LONG(wouldblock, 1); in php_flock_common() 366 zval *res, *wouldblock = NULL; in PHP_FUNCTION() local 374 Z_PARAM_ZVAL(wouldblock) in PHP_FUNCTION() 379 php_flock_common(stream, operation, 2, wouldblock, return_value); in PHP_FUNCTION()
|
/PHP-8.1/ext/spl/ |
H A D | spl_directory.c | 2477 zval *wouldblock = NULL; in PHP_METHOD() local 2480 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|z", &operation, &wouldblock) == FAILURE) { in PHP_METHOD() 2486 php_flock_common(intern->u.file.stream, operation, 1, wouldblock, return_value); in PHP_METHOD()
|
Completed in 27 milliseconds