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

/PHP_TRUNK/ext/standard/
H A Dfile.c333 /* {{{ proto bool flock(resource fp, int operation [, int &wouldblock])
337 zval *res, *wouldblock = NULL; local
342 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl|z/", &res, &operation, &wouldblock) == FAILURE) {
354 if (wouldblock) {
355 zval_dtor(wouldblock);
356 ZVAL_LONG(wouldblock, 0);
362 if (operation && errno == EWOULDBLOCK && wouldblock) {
363 ZVAL_LONG(wouldblock, 1);

Completed in 7 milliseconds