Article View: comp.os.msdos.programmer
Article #2967Re: Command line length (was: Can std-io be a *binary* file?)
From: Jeff Pipkins Dev hou
Date: Fri, 09 Nov 1990 00:24
Date: Fri, 09 Nov 1990 00:24
10 lines
905 bytes
905 bytes
If you want stdin to be a binary file, use this in your program: setmode(fileno(stdin), O_BINARY); Same goes for stdout. -- Jeff D. Pipkins (uunet!cpqhou!pipkinsj) My disclaimer: My opinions do not necessarily reflect those of my employer. Papaw's disclaimer: I've already told you more than I know.
Technical Details
Message-ID:
<1990Nov09.002438.20737@cpqhou.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cpqhou!pipkinsjReferences:
<22926@grebyn.com> <11280@hubcap.clemson.edu> <OTTO.90Nov1132529@tukki.jyu.fi> <1990Nov1.142426.19559@maytag.waterloo.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cpqhou!pipkinsj From: pipkinsj@cpqhou.uucp (Jeff Pipkins @Adv Dev@SE hou ) Newsgroups: comp.os.msdos.programmer Subject: Re: Command line length (was: Can std-io be a *binary* file?) Message-ID: <1990Nov09.002438.20737@cpqhou.uucp> Date: 9 Nov 90 00:24:38 GMT References: <22926@grebyn.com> <11280@hubcap.clemson.edu> <OTTO.90Nov1132529@tukki.jyu.fi> <1990Nov1.142426.19559@maytag.waterloo.edu> Reply-To: uunet!cpqhou!pipkinsj (Jeff Pipkins @Adv Dev@SE hou ) Organization: Compaq Computer Corporation Lines: 10