[Info-vax] Whither VMS?
glen herrmannsfeldt
gah at ugcs.caltech.edu
Tue Oct 6 20:43:44 EDT 2009
Bob Eager <rde42 at spamcop.net> wrote:
(snip)
< However...section 7.26 of the standard is the interesting one (and I
< didn't know this, but the standard happened to be right beside me). It
< says that ALL names starting with 'str', 'mem' (for example) are
< reserved, no matter what files are included! There are other examples
< such as whole function names such as 'cerf'.
< This is obviously just to future-proof programs, and in practice I doubt
< that it matters. Compilers would not generally check this; as said
< before, it's a library thing.
Many compilers now generate those functions inline, without calling
an actual function. That would only be true for the ones actually
implemented, such as strcat and memcpy, but they reserved them all
to allow for future additions.
If you try to write your own strcat, it is likely on current
compilers never to be called.
-- glen
More information about the Info-vax
mailing list