🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1148

Re: File mode

#1148
From: Norman Diamond
Date: Thu, 13 Aug 1992 01:41
14 lines
1375 bytes
In article <1992Aug12.051036.13224@pasteur.Berkeley.EDU> johnm@cory.Berkeley.EDU (John D. Mitchell) writes:
>I've looked through the standard but haven't found any indication of
>whether or not the file mode specifiers are case sensitive or not (i.e. is
>a file mode "b+" == "B+")?

The standard defines the effects of several mode specifiers, all of which
are in lower case.  ("b+" is not among them, though "rb+" etc. are.)
The standard does not define the effects of mode specifiers in upper case.
Implementations are allowed to provide extensions, but portable programs
do not depend on them, and strictly conforming programs cannot.
--
Norman Diamond       diamond@jit081.enet.dec.com
If this were the company's opinion, I wouldn't be allowed to post it.
"Yeah -- bad wiring.  That was probably it.  Very bad."
Technical Details
Message-ID: <1992Aug13.014103.28869@nntpd.lkg.dec.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!jit345.bad.jit.dec.com!diamond
References: <1992Aug12.051036.13224@pasteur.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!jit345.bad.jit.dec.com!diamond
From: diamond@jit345.bad.jit.dec.com (Norman Diamond)
Subject: Re: File mode
Message-ID: <1992Aug13.014103.28869@nntpd.lkg.dec.com>
Sender: usenet@nntpd.lkg.dec.com (USENET News System)
Reply-To: diamond@jit.dec.com (Norman Diamond)
Organization: Digital Equipment Corporation Japan , Tokyo
References: <1992Aug12.051036.13224@pasteur.Berkeley.EDU>
Date: Thu, 13 Aug 1992 01:41:03 GMT
Lines: 14