home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / std / c / 2469 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1.3 KB  |  27 lines

  1. Newsgroups: comp.std.c
  2. Path: sparky!uunet!sun-barr!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!jit345.bad.jit.dec.com!diamond
  3. From: diamond@jit345.bad.jit.dec.com (Norman Diamond)
  4. Subject: Re: File mode
  5. Message-ID: <1992Aug13.014103.28869@nntpd.lkg.dec.com>
  6. Sender: usenet@nntpd.lkg.dec.com (USENET News System)
  7. Reply-To: diamond@jit.dec.com (Norman Diamond)
  8. Organization: Digital Equipment Corporation Japan , Tokyo
  9. References: <1992Aug12.051036.13224@pasteur.Berkeley.EDU>
  10. Date: Thu, 13 Aug 1992 01:41:03 GMT
  11. Lines: 14
  12.  
  13. In article <1992Aug12.051036.13224@pasteur.Berkeley.EDU> johnm@cory.Berkeley.EDU (John D. Mitchell) writes:
  14. >I've looked through the standard but haven't found any indication of
  15. >whether or not the file mode specifiers are case sensitive or not (i.e. is
  16. >a file mode "b+" == "B+")?
  17.  
  18. The standard defines the effects of several mode specifiers, all of which
  19. are in lower case.  ("b+" is not among them, though "rb+" etc. are.)
  20. The standard does not define the effects of mode specifiers in upper case.
  21. Implementations are allowed to provide extensions, but portable programs
  22. do not depend on them, and strictly conforming programs cannot.
  23. --
  24. Norman Diamond       diamond@jit081.enet.dec.com
  25. If this were the company's opinion, I wouldn't be allowed to post it.
  26. "Yeah -- bad wiring.  That was probably it.  Very bad."
  27.