Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site steinmetz.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!ittatc!dcdwest!sdcsvax!ncr-sd!ncrcae!ncsu!uvacs!edison!steinmetz!davidsen From: davidsen@steinmetz.UUCP (Davidsen) Newsgroups: net.lang.c Subject: Re: C builtin functions? Message-ID: <716@steinmetz.UUCP> Date: Thu, 1-May-86 16:54:43 EDT Article-I.D.: steinmet.716 Posted: Thu May 1 16:54:43 1986 Date-Received: Sat, 3-May-86 19:42:23 EDT References: <1224@ulysses.UUCP> <709@bentley.UUCP> Reply-To: davidsen@kbsvax.UUCP (Davidsen) Organization: GE CRD, Schenectady, NY Lines: 42 At the first X3J11 conference in Washington DC I had a talk about builtin procedures with Ralph Ryan of Microsoft. We agreed that it was a desirable feature and talked about a new "builtin" or "intrinsic" keyword for inline routines, given the caveat that no implementation would be *required* to provide them as inline. At that point, given that we were talking about an "advisory" keyword, and that obviously you couldn't take the address of an intrinsic function, one of us suggested that the term "register" be used, since it may be ignored by the compiler, and prevents taking the address of a variable. Consider: register int foo(n) int n; { /* body */ return (value); } Which could be declared in a header file or somewhere, and the form: register foo(); Which is like an external declaration, but refers to a name known to the compiler in an implementation. The action if the name were unknown would be to treat it as "extern". I had to leave the committee after two years, and nothing really came of the topic, being bogged down in "const" and "volitile". If there is an ANSI committee for C1990, I will try to participate again, since the process is both interesting and effects my environment. -- -bill davidsen seismo!rochester!steinmetz!--\ / \ ihnp4! unirot ------------->---> crdos1!davidsen \ / chinet! ---------------------/ (davidsen@ge-crd.ARPA) "Stupidity, like virtue, is its own reward"