home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / std / c / 3427 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.1 KB

  1. Path: 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
  2. From: ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig)
  3. Newsgroups: comp.std.c
  4. Subject: binary data with stdin/stdout
  5. Date: 26 Jan 93 21:58:16 GMT
  6. Organization: University of Karlsruhe, Germany
  7. Lines: 14
  8. Message-ID: <ig25.728085496@fg70>
  9. NNTP-Posting-Host: fg70.rz.uni-karlsruhe.de
  10.  
  11. Does the standard have anything to say about wether stdin and stdout
  12. are opened to a file stream opened in binary mode?
  13.  
  14. Would a program which wrote binary data to standard output, or read it
  15. from standard input, be complying?
  16.  
  17. The reason for asking is that many programs which were developed for
  18. UNIX, which do this, fail on systems where binary and text mode for file
  19. streams are not identical.  I'd like to know wether they fail in a
  20. standard - conforming or a non - standard - conforming way :-)
  21. -- 
  22. Thomas Koenig, ig25@rz.uni-karlsruhe.de, ig25@dkauni2.bitnet
  23. The joy of engineering is to find a straight line on a double
  24. logarithmic diagram.
  25.