Path: utzoo!utgpu!water!watmath!clyde!rutgers!cmcl2!brl-adm!adm!LINNDR%VUENGVAX.BITNET@CUNYVM.CUNY.EDU From: LINNDR%VUENGVAX.BITNET@CUNYVM.CUNY.EDU Newsgroups: comp.lang.c Subject: sizeof(function) - preproposal survey Message-ID: <11801@brl-adm.ARPA> Date: 14 Feb 88 08:28:35 GMT Sender: news@brl-adm.ARPA Lines: 23 I need some help from the readers of comp.lang.c/info-c in preparation for making a proposal to X3J11. The gist of my proposal is that the sizeof operator, when applied to a function name, would return the length of the function rather than the size of a pointer to a function. While this is a change, it is also (probably) an upward compatible extension that would provide a capability not currently available in C but in keeping with the "spirit of C" (Let's hear an AMEN, brothers and sisters!) as this information is generally available in the assembly code that C allows us to forego. What I request from the readers of this newsgroup/mailing-list is feedback if you know of code that this would break. Please reply directly to me and not to the whole group as I will summarize any interesting correspondence. Thanks, David -------------- David Linn INET: drl@vuse.vanderbilt.edu UUCP: ...!uunet!vuse!drl CSNET: drl@vanderbilt.csnet BITNET: linndr@vuengvax AT&T: (615)322-7924