Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!hplabs!hpcea!hpfcdc!hpcnoe!jason From: jason@hpcnoe.UUCP (Jason Zions) Newsgroups: net.lang.c Subject: Re: Calling functions via pointers Message-ID: <790010@hpcnoe.UUCP> Date: Sun, 2-Nov-86 17:00:18 EST Article-I.D.: hpcnoe.790010 Posted: Sun Nov 2 17:00:18 1986 Date-Received: Tue, 4-Nov-86 04:44:50 EST References: <6165@ut-sally.UUCP> Organization: HP Colorado Networks Division Lines: 16 It's a common "corruption" of C, based on the question: "Shucks, it's a pointer to a function; what the heck else are ya gonna do with the dang thing except dereference it, i.e. call what it points to?" Technically, the explicit dereference is required, i.e. ((*action)()) Pcc-based implementation imply the dereference as necessary. I don't even know if 4.[23] lint would complain about this one. -- This is not an official statement of Hewlett-Packard Corp., and does not necessarily reflect the views of HP. It is provided completely without warranty of any kind. Lawyers take 3d10 damage and roll a saving throw vs. ego attack. Jason Zions Hewlett-Packard Colorado Networks Division 3404 E. Harmony Road Mail Stop 102 Ft. Collins, CO 80525 {ihnp4,seismo,hplabs,gatech}!hpfcdc!hpcnoe!jason