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

/PHP_TRUNK/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) {
360 zval_dtor(wouldblock);
361 ZVAL_LONG(wouldblock, 0);
367 if (operation && errno == EWOULDBLOCK && wouldblock) {
368 ZVAL_LONG(wouldblock, 1);

Completed in 7 milliseconds