Re: CGI written in C

From: Pascal Bourguignon (spam_at_mouse-potato.com)
Date: 08/09/05


Date: Tue, 09 Aug 2005 05:13:12 +0200


"Roman Mashak" <mrv@tusur.ru> writes:
> RH> Remember that printf is buffered; you need to call fflush(stdout) to
> RH> make sure that the output buffer gets written to the socket.
> Does it mean one should avoid using functions like 'printf', 'fprintf' etc.
> in CGI ?

No. It means that when you want to ensure that the remote party gets
the data, you should use fflush.

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
Small brave carnivores
Kill pine cones and mosquitoes
Fear vacuum cleaner


Relevant Pages