Home
last modified time | relevance | path

Searched refs:wouldblock (Results 1 – 5 of 5) sorted by relevance

/PHP-8.0/ext/standard/tests/file/
H A Dbug65272.phpt2 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 Dflock_variation.phpt6 wouldblock values ***\n";
49 foreach($wouldblocks as $wouldblock) {
51 var_dump(flock($fp, $operation, $wouldblock));
64 wouldblock values ***
/PHP-8.0/ext/standard/
H A Dfile.h48 zval *wouldblock, zval *return_value);
H A Dfile.c329 uint32_t operation_arg_num, zval *wouldblock, zval *return_value) in php_flock_common() argument
340 if (wouldblock) { in php_flock_common()
341 ZEND_TRY_ASSIGN_REF_LONG(wouldblock, 0); in php_flock_common()
347 if (operation && errno == EWOULDBLOCK && wouldblock) { in php_flock_common()
348 ZEND_TRY_ASSIGN_REF_LONG(wouldblock, 1); in php_flock_common()
358 zval *res, *wouldblock = NULL; in PHP_FUNCTION() local
366 Z_PARAM_ZVAL(wouldblock) in PHP_FUNCTION()
371 php_flock_common(stream, operation, 2, wouldblock, return_value); in PHP_FUNCTION()
/PHP-8.0/ext/spl/
H A Dspl_directory.c2509 zval *wouldblock = NULL; in PHP_METHOD() local
2512 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|z", &operation, &wouldblock) == FAILURE) { in PHP_METHOD()
2518 php_flock_common(intern->u.file.stream, operation, 1, wouldblock, return_value); in PHP_METHOD()

Completed in 20 milliseconds