Re: fseek() return value
| From: | Andi Gutmans | Date: | Mon, 24 Apr 2000 15:54:05 +0000 |
| Subject: | Re: fseek() return value | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-18152@lists.php.net to get a copy of this message | ||
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. *
>
>