fseek() return value
| From: | Andrei Zmievski | Date: | Mon, 24 Apr 2000 14:22:58 +0000 |
| Subject: | fseek() return value | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18149@lists.php.net to get a copy of this message | ||
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. *