Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/12/84; site desint.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcrdcf!trwrb!desint!geoff From: geoff@desint.UUCP (Geoff Kuenning) Newsgroups: net.lang.c Subject: syntax for external aliases (previously $ in identifiers poll) Message-ID: <278@desint.UUCP> Date: Sat, 22-Dec-84 15:01:06 EST Article-I.D.: desint.278 Posted: Sat Dec 22 15:01:06 1984 Date-Received: Mon, 24-Dec-84 03:02:02 EST References: <422@gitpyr.UUCP> <273@desint.UUCP> <635@bunker.UUCP> Organization: his home computer, Manhattan Beach, CA Lines: 25 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