Re: [PHP-DEV] fseek() return value From: Andi Gutmans (andi <email protected>)
Date: 04/24/00

Sounds wrong to me but I don't think it's a good idea to change this
behavior. It is pretty much the opposite behaviour of returning
true/false.

Andi

On Mon, 24 Apr 2000, Andrei Zmievski wrote:

> Why is the return value of fseek() simply returned to the user? fseek()
> returns 0 on success and -1 on error. We need to check those and return
> true/false for appropriate case. I'd like to make that change, but I'm
> not sure how many people that would affect.
>
> -Andrei
> * 2 + 2 = 5 for extremely large values of 2. *
>
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>