[Coldstuff] stdio

Brandon Gillespie coldstuff@cold.org
Tue, 23 Jul 2002 12:07:44 -0600


Jeremy Weatherford wrote:
> I was under the impression that there aren't any, since the IO stuff is 
> either socket based, or looks for actual files on the filesystem.  There's 
> dblog() for output.  Genesis closes stdin unless you're logging to it, 
> though.

This is correct; ColdC is meant for a server-based language.  There is 
no ability to do a read from stdin and the only way to put anything on 
stdout/err is through dblog.  This is intentional, because it is a 
server there is no 'standard' input or output.  Just sockets and files.

-Brandon