Writes the output buffer to the standard output and terminates the buffering.
If you want to transmit other information than text via CGI (eg. binary data) you should call CGICLOSEBUFFER before the transmission.
Example 1: CGICloseBuffer
Usage of CGICLOSEBUFFER
cgiwriteln('content-type: image/gif')
cgiwriteln('')
cgiclosebuffer // Header is written
copyfile('pics/mypicture.gif','con') // here picture is transmitted