$ in identifiers (and externals)

Dick Dunn rcd at opus.UUCP
Wed Dec 19 15:47:38 AEST 1984


> Perhaps what C really needs is a way to define a seperate external name for
> an identifier when declaring that identifier.  For example, the following:
> 
>     extern sys_read "SYS$READ" ();
> ...

This suggestion (see parent article for more explanation) is a good one for
resolving the inevitable clashes between a language's idea of the lexical
rules for an identifier and the OS's idea of same.  The language and the OS
should have a good common ground, but there needs to be a way to cover the
exceptions (short of all of us adopting the same OS:-)
-- 
Dick Dunn	{hao,ucbvax,allegra}!nbires!rcd		(303)444-5710 x3086
   ...Nothing left to do but smile, smile, smile.



More information about the Comp.lang.c mailing list