Home
last modified time | relevance | path

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

/php-src/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";
48 foreach($wouldblocks as $wouldblock) {
50 var_dump(flock($fp, $operation, $wouldblock));
63 wouldblock values ***
/php-src/ext/standard/
H A Dfile.h45 zval *wouldblock, zval *return_value);
H A Dfile.c189 uint32_t operation_arg_num, zval *wouldblock, zval *return_value) in php_flock_common() argument
200 if (wouldblock) { in php_flock_common()
201 ZEND_TRY_ASSIGN_REF_LONG(wouldblock, 0); in php_flock_common()
207 if (operation && errno == EWOULDBLOCK && wouldblock) { in php_flock_common()
208 ZEND_TRY_ASSIGN_REF_LONG(wouldblock, 1); in php_flock_common()
218 zval *res, *wouldblock = NULL; in PHP_FUNCTION() local
226 Z_PARAM_ZVAL(wouldblock) in PHP_FUNCTION()
231 php_flock_common(stream, operation, 2, wouldblock, return_value); in PHP_FUNCTION()
/php-src/ext/spl/
H A Dspl_directory.c2472 zval *wouldblock = NULL; in PHP_METHOD() local
2475 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|z", &operation, &wouldblock) == FAILURE) { in PHP_METHOD()
2481 php_flock_common(intern->u.file.stream, operation, 1, wouldblock, return_value); in PHP_METHOD()

Completed in 26 milliseconds