sizeof(function) - preproposal survey
LINNDR%VUENGVAX.BITNET at CUNYVM.CUNY.EDU
LINNDR%VUENGVAX.BITNET at CUNYVM.CUNY.EDU
Sun Feb 14 18:28:35 AEST 1988
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 at vuse.vanderbilt.edu UUCP: ...!uunet!vuse!drl
CSNET: drl at vanderbilt.csnet BITNET: linndr at vuengvax
AT&T: (615)322-7924
More information about the Comp.lang.c
mailing list