🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3319

Re: binary data with stdin/stdout

#3319
From: Steve Clamage
Date: Thu, 28 Jan 1993 18:57
14 lines
792 bytes
ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig) writes:

>Does the standard have anything to say about wether stdin and stdout
>are opened to a file stream opened in binary mode?

Yes.  In section 4.9.3 it says that the predefined standard streams
are text streams.

I suppose an implementation could provide an option where the files
were opened in binary mode.  Code which depended on this would not
be portable.
-- 

Steve Clamage, TauMetric Corp, steve@taumet.com
Technical Details
Message-ID: <1993Jan28.185705.27873@taumet.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!taumet!steve
References: <ig25.728085496@fg70>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!sparky!uunet!taumet!steve
From: steve@taumet.com (Steve Clamage)
Subject: Re: binary data with stdin/stdout
Message-ID: <1993Jan28.185705.27873@taumet.com>
Organization: TauMetric Corporation
References: <ig25.728085496@fg70>
Date: Thu, 28 Jan 1993 18:57:05 GMT
Lines: 14