Unomitted frame pointers

Andreas Schwab schwab@suse.de
Fri Dec 10 16:33:00 GMT 2004


"Dave Korn" <dave.korn@artimi.com> writes:

>   So really the safe way to code this is
>
> #define HELLOSTRING "Hello World!\n"
>
>       write (2, HELLOSTRING, strlen(HELLOSTRING)-1);

No, it's

        write (2, HELLOSTRING, strlen(HELLOSTRING));

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc mailing list