Searched defs:wouldblock (Results 1 - 1 of 1) sorted by relevance

/PHP_5_6/ext/standard/
H A Dfile.c338 /* {{{ proto bool flock(resource fp, int operation [, int &wouldblock])
342 zval *res, *wouldblock = NULL; local
347 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|z", &res, &operation, &wouldblock) == FAILURE) {
359 if (wouldblock && PZVAL_IS_REF(wouldblock)) {
360 convert_to_long_ex(&wouldblock);
361 Z_LVAL_P(wouldblock) = 0;
367 if (operation && errno == EWOULDBLOCK && wouldblock && PZVAL_IS_REF(wouldblock)) {
368 Z_LVAL_P(wouldblock)
[all...]

Completed in 5 milliseconds