Path: utzoo!mnetor!uunet!mcvax!mhres!jv From: jv@mhres.mh.nl (Johan Vromans) Newsgroups: comp.lang.c Subject: Re: sizeof(function) - preproposal survey Message-ID: <1622@mhres.mh.nl> Date: 17 Feb 88 09:55:46 GMT References: <11801@brl-adm.ARPA> Reply-To: jv@mhres.mh.nl (Johan Vromans) Organization: Multihouse N.V., The Netherlands Lines: 16 Summary: what is the "size of a function"? In article <11801@brl-adm.ARPA> LINNDR%VUENGVAX.BITNET@CUNYVM.CUNY.EDU writes: >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. ^^^^^^^^^^^^^^^^^^^^^^ What is the length of a function? Its size in bytes? Source lines? Before or after cpp? Object code? Instructions? And what use of this length? -- Johan Vromans | jv@mh.nl via European backbone Multihouse N.V., Gouda, the Netherlands | uucp: ..{uunet!}mcvax!mh.nl!jv "It is better to light a candle than to curse the darkness"