home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / std / c / 3438 < prev    next >
Encoding:
Text File  |  1993-01-28  |  768 b   |  25 lines

  1. Newsgroups: comp.std.c
  2. Path: sparky!uunet!taumet!steve
  3. From: steve@taumet.com (Steve Clamage)
  4. Subject: Re: binary data with stdin/stdout
  5. Message-ID: <1993Jan28.185705.27873@taumet.com>
  6. Organization: TauMetric Corporation
  7. References: <ig25.728085496@fg70>
  8. Date: Thu, 28 Jan 1993 18:57:05 GMT
  9. Lines: 14
  10.  
  11. ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig) writes:
  12.  
  13. >Does the standard have anything to say about wether stdin and stdout
  14. >are opened to a file stream opened in binary mode?
  15.  
  16. Yes.  In section 4.9.3 it says that the predefined standard streams
  17. are text streams.
  18.  
  19. I suppose an implementation could provide an option where the files
  20. were opened in binary mode.  Code which depended on this would not
  21. be portable.
  22. -- 
  23.  
  24. Steve Clamage, TauMetric Corp, steve@taumet.com
  25.