🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4773

Re: Binary Mode stdin/stdout

#4773
From: Thomas Koenig
Date: Fri, 09 Feb 1996 14:02
12 lines
1257 bytes
In comp.std.c, baynes@ukpsshp1.serigate.philips.nl (Stephen Baynes) wrote:

>You make an assumption that the operating system provides you with a means
>of directing binary data into stdin or recieving it from stdout in the first
>place.

The same kind of assumption is being made with system().  A function
to switch stdin or stdout to binary could return failure if necessary.
-- 
Thomas Koenig, Thomas.Koenig@ciw.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: <4ffk5v$7bc@fg70.rz.uni-karlsruhe.de>
Path: arc1-ca.pugleaf.net!rz.uni-karlsruhe.de!not-for-mail
References: <4f67kg$11g@cortex.dialin.rrze.uni-erlangen.de> <DME74w.4M4@stdc.demon.co.uk> <4fbk81$qk@cortex.dialin.rrze.uni-erlangen.de> <DMI28r.5Lr@ukpsshp1.serigate.philips.nl>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!rz.uni-karlsruhe.de!not-for-mail
From: ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig)
Newsgroups: comp.std.c
Subject: Re: Binary Mode stdin/stdout
Date: 9 Feb 1996 15:02:39 +0100
Organization: Universität Karlsruhe (TH), Germany 
Message-ID: <4ffk5v$7bc@fg70.rz.uni-karlsruhe.de>
References: <4f67kg$11g@cortex.dialin.rrze.uni-erlangen.de> <DME74w.4M4@stdc.demon.co.uk> <4fbk81$qk@cortex.dialin.rrze.uni-erlangen.de> <DMI28r.5Lr@ukpsshp1.serigate.philips.nl>
Reply-To: Thomas.Koenig@ciw.uni-karlsruhe.de
NNTP-Posting-Host: fg70.rz.uni-karlsruhe.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-User: ig25