RoRo: CGIs in C geschrieben

Beitrag lesen

Hi Klaus,

Na ja, fprintf habe ich schon verwendet, als CGI,HTML,HTTP usw. noch nicht mal definiert waren (ist Bestandteil von stdio) ;-)

das stimmt natürlich.
Andererseits empfiehlt Boutell also fprintf(cgiOut,"");
weil:
"_Important:_ [52]cgiOut is normally equivalent to stdout, and there is
   no performance penalty for using it. It is recommended that you write
   output to [53]cgiOut to ensure compatibility with future versions of
   the cgic library for special environments that do not provide stdin
   and stdout for each cgi connection."

Machs gut, Rolf