Path: 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> <1990Nov1.142426.19559@maytag.waterloo.edu> Reply-To: uunet!cpqhou!pipkinsj (Jeff Pipkins @Adv Dev@SE hou ) Organization: Compaq Computer Corporation Lines: 10 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.