Searched refs:desiredpos (Results 1 – 1 of 1) sorted by relevance
444 zend_long maxlen, desiredpos = -1L; in PHP_FUNCTION() local452 Z_PARAM_LONG(desiredpos) in PHP_FUNCTION()464 if (desiredpos >= 0) { in PHP_FUNCTION()469 if (position >= 0 && desiredpos > position) { in PHP_FUNCTION()471 seek_res = php_stream_seek(stream, desiredpos - position, SEEK_CUR); in PHP_FUNCTION()472 } else if (desiredpos < position) { in PHP_FUNCTION()474 seek_res = php_stream_seek(stream, desiredpos, SEEK_SET); in PHP_FUNCTION()479 "Failed to seek to position " ZEND_LONG_FMT " in the stream", desiredpos); in PHP_FUNCTION()
Completed in 8 milliseconds