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

/PHP_TRUNK/ext/standard/
H A Dfile.c330 /* {{{ proto bool flock(resource fp, int operation [, int &wouldblock])
334 zval *res, *wouldblock = NULL; local
339 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl|z/", &res, &operation, &wouldblock) == FAILURE) {
351 if (wouldblock) {
352 zval_dtor(wouldblock);
353 ZVAL_LONG(wouldblock, 0);
359 if (operation && errno == EWOULDBLOCK && wouldblock) {
360 ZVAL_LONG(wouldblock, 1);

Completed in 7 milliseconds