Home
last modified time | relevance | path

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

/PHP-7.3/ext/standard/tests/file/
H A Dbug65272.phpt2 Bug #65272: flock() correctly sets wouldblock out param in windows
16 var_dump(flock($fp2, LOCK_EX|LOCK_NB, $wouldblock));
17 var_dump($wouldblock);
H A Dflock_variation.phpt6 Prototype: bool flock(resource $handle, int $operation [, int &$wouldblock]);
12 wouldblock values ***\n";
54 foreach($wouldblocks as $wouldblock) {
56 var_dump(flock($fp, $operation, $wouldblock));
69 wouldblock values ***
H A Dflock_basic.phpt6 Prototype: bool flock(resource $handle, int $operation [, int &$wouldblock]);
H A Dflock_error.phpt6 Prototype: bool flock(resource $handle, int $operation [, int &$wouldblock]);
/PHP-7.3/ext/spl/internal/
H A Dsplfileobject.inc116 * @retval $wouldblock whether the operation would block
118 function flock($operation, &$wouldblock)
120 return flock($this->fp, $operation, $wouldblock);
/PHP-7.3/ext/standard/
H A Dfile.c337 zval *res, *wouldblock = NULL; in PHP_FUNCTION() local
346 Z_PARAM_ZVAL_DEREF(wouldblock) in PHP_FUNCTION()
357 if (wouldblock) { in PHP_FUNCTION()
358 zval_ptr_dtor(wouldblock); in PHP_FUNCTION()
359 ZVAL_LONG(wouldblock, 0); in PHP_FUNCTION()
365 if (operation && errno == EWOULDBLOCK && wouldblock) { in PHP_FUNCTION()
366 ZVAL_LONG(wouldblock, 1); in PHP_FUNCTION()
H A Dbasic_functions.c1040 ZEND_ARG_INFO(1, wouldblock)
/PHP-7.3/ext/spl/
H A Dspl_directory.c3023 ZEND_ARG_INFO(1, wouldblock)

Completed in 36 milliseconds