[net.lang.c] syntax for external aliases

geoff@desint.UUCP (Geoff Kuenning) (12/22/84)

In article <635@bunker.UUCP> garys@bunker.UUCP (Gary M. Samuelson) writes:

>OK, how about:
>
>	extern sys_read() = "SYS$READ";
>

Nope, because this can't be used for anything except functions.  Specifically,
I may want to write

	extern "SYS$_ERROR_CODE" int errno;

(Yuck!  A syntax designer I clearly am not.  Would somebody with some talent
please step into this and save me from myself?)

How about:

	extern char *getopt (): "LIB$GET_MCR";

(I figure if I cause you guys enough pain, I will *force* you into making a
better suggestion).
-- 

	Geoff Kuenning
	...!ihnp4!trwrb!desint!geoff