Re: fflush() function
| From: | Yasuo Ohgaki | Date: | Sat, 21 Apr 2001 04:46:30 +0000 |
| Subject: | Re: fflush() function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49643@lists.php.net to get a copy of this message | ||
It will do the same thing as standard C lib.
How about take a look at C reference?
Basically, all output is buffered by OS. It's just tells write to file if data,
associated with the file pointer/descriptor, is in buffer.
You will see why this function is useful, if you 'tail -f' while writing data
into file.
Regards,
--
Yasuo Ohgaki
"Thomas Deliduka" <thomas@neweve.com> wrote in message
news:B705FCC4.CFDD%thomas@neweve.com...
> This function:
>
> http://www.php.net/manual/en/function.fflush.php
>
> Has no example on how you would code with it. Does anyone know?
>
> It mentions "buffered output" how do you buffer output?
> --
>
> Thomas Deliduka
> IT Manager
> -------------------------
> New Eve Media
> The Solution To Your Internet Angst
> http://www.neweve.com/
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>