My comments to X3J11 (1000 lines)

Ron Natalie <ron> ron at brl-sem.ARPA
Wed Jan 7 10:54:44 AEST 1987


In article <1202 at ucbcad.berkeley.edu>, faustus at ucbcad.berkeley.edu (Wayne A. Christopher) writes:
> A lot of people have been worrying about the proliferation of names
> that don't begin with `_' which are pre-defined by the implementation.
> But seriously, we can't expect `read' to be re-defined as `_read' in
> UNIX -- the things that UNIX defines are going to stay defined.  How
> many programmers have had serious problems with conflicts like this?

Easy, UNIX can have "read" in libc (or liba for those running Version
6).  It is just prohibitted that any of the Standard C routines such
as PRINTF use "read."  That way if a user defines his own function
called read, he doesn't break any calls he made to the "Standard Set
of Routines."

-Ron



More information about the Comp.lang.c mailing list