Article View: comp.std.c
Article #265Re: Reserved names in ANSI C
From: Doug Gwyn
Date: Thu, 22 Jun 1989 08:05
Date: Thu, 22 Jun 1989 08:05
14 lines
1259 bytes
1259 bytes
In article <1598@cbnewsh.ATT.COM> ka@hulk.att.com writes: >I know that ANSI C reserves all names that begin with and underscore, >and I just learned from the above quote that it reserves all names >beginning with "str". Are there other names to be avoided as well? Not all names beginning with underscore are reserved; for example, applications may use structure members named e.g. _hidden. Similarly, it is only external names for which the str prefix is reserved (for future standardization). There are several name spaces in C, and reserved names usually are restricted to a subset of the totality of name spaces. A complete list should be given in any book proclaiming "ANSI C" on its cover, of which there are several.
Technical Details
Message-ID:
<10430@smoke.BRL.MIL>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!haven!ncifcrf!nlm-mcs!adm!smoke!gwynReferences:
<GEOFF.89Jun11231924@onyx.cs.warwick.ac.uk> <13680@haddock.ima.isc.com> <1598@cbnewsh.ATT.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!haven!ncifcrf!nlm-mcs!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: Reserved names in ANSI C Message-ID: <10430@smoke.BRL.MIL> Date: 22 Jun 89 08:05:24 GMT References: <GEOFF.89Jun11231924@onyx.cs.warwick.ac.uk> <13680@haddock.ima.isc.com> <1598@cbnewsh.ATT.COM> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 14