Binary I/O on stdin/stdout?
Arthur David Olson
ado at elsie.UUCP
Wed Mar 30 04:13:24 AEST 1988
> > Couldn't freopen simply return ((FILE *) 0) in such cases, much as
> > localtime is allowed to return -1 if local time can't be determined?
>
> Sure; but then what good does it to to specify the facility if
> portable code couldn't rely on it working?
Same as with localtime: it provides a standardized way for accessing the
capability *when it is available.*
--
olson at ncifcrf.gov "...that lucky ol' Sun ain't got nothin' to do..."
More information about the Comp.lang.c
mailing list