Thread View: gnu.gcc.help
1 messages
1 total messages
Started by Vugranam Chakravarthy Sreedhar
Sun, 22 Nov 1992 16:00
malloc_size
Author: Vugranam Chakravarthy Sreedhar
Date: Sun, 22 Nov 1992 16:00
Date: Sun, 22 Nov 1992 16:00
15 lines
1068 bytes
1068 bytes
I noticed on the NeXT machine there is a library call called malloc_size, which given ptr it returns the block size allocated to this ptr. I noticed NeXT uses gcc 1.37 as its compiler. I don't see similar feature being provided by gcc on sparc or r6000. We need this malloc_size to collect statistics for our project. I posted requesting this info. on comp.lang.c, and was told that this is a non-portable feature of the language. We use gcc compiler (1.37.1/ 2.2.2) on sparc machine. Can some one please help me with this? Thanks a lot... Sreedhar
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads