🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3309

binary data with stdin/stdout

#3309
From: Thomas Koenig
Date: Tue, 26 Jan 1993 21:58
14 lines
1101 bytes
Does the standard have anything to say about wether stdin and stdout
are opened to a file stream opened in binary mode?

Would a program which wrote binary data to standard output, or read it
from standard input, be complying?

The reason for asking is that many programs which were developed for
UNIX, which do this, fail on systems where binary and text mode for file
streams are not identical.  I'd like to know wether they fail in a
standard - conforming or a non - standard - conforming way :-)
-- 
Thomas Koenig, ig25@rz.uni-karlsruhe.de, ig25@dkauni2.bitnet
The joy of engineering is to find a straight line on a double
logarithmic diagram.
Technical Details
Message-ID: <ig25.728085496@fg70>
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!news.netmbx.de!Germany.EU.net!ira.uka.de!rz.uni-karlsruhe.de!fg70.rz.uni-karlsruhe.de!ig25

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!news.netmbx.de!Germany.EU.net!ira.uka.de!rz.uni-karlsruhe.de!fg70.rz.uni-karlsruhe.de!ig25
From: ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig)
Newsgroups: comp.std.c
Subject: binary data with stdin/stdout
Date: 26 Jan 93 21:58:16 GMT
Organization: University of Karlsruhe, Germany
Lines: 14
Message-ID: <ig25.728085496@fg70>
NNTP-Posting-Host: fg70.rz.uni-karlsruhe.de