Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Engine programming - standard input

Author: Daniel Clausen

Date: 11:25:30 12/03/03

Go up one level in this thread


On December 03, 2003 at 12:51:53, Robert Hyatt wrote:

[snip]

 guess Robert means read(). As said above, I would prefer Standard C functions
>>(if possible). read() is not a Standard C function.
>
>I'm not sure what that means.  read() is in every C implementation I have
>ever used.  As are the others such as getc/putc, gets/puts, scanf/printf,
>fread/fwrite, read/write, etc...  read/write are specifically non-buffered
>calls, and they even worked on MSDOS just fine.

getc() etc conform to ANSI-C and POSIX.1.
read() etc conform to SVr4, SVID, AT&T, POSIX, X/OPEN, BSD 4.3 (but not ANSI-C)

Sargon



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.