DIGIT-ARC read-only archive · snapshot: July 23, 2026

Malloc ( ) ???

5 posts · originally from https://geek.digit.in/community/threads/malloc.72348/

Kreeper
Kreeper Original post #1
Nov 3, 2007 at 3:57 PM
Could anyone explain me how exactly Malloc ( Or any other Memory Mamagement Method) works when invoked by a c program?
QwertyManiac
Nov 3, 2007 at 4:37 PM
*en.wikipedia.org/wiki/Malloc

See the implementation part after a general scan through the rest.
official
Nov 3, 2007 at 6:05 PM
it simply allocates the exact amount of memory passed as its argument and returns the base address of the memory location to the pointer calling it..
ashfame
ashfame #4
Nov 9, 2007 at 9:45 PM
diff in malloc , kalloc and alike?
Kreeper
Kreeper #5
Nov 14, 2007 at 11:31 AM
official said:
it simply allocates the exact amount of memory passed as its argument and returns the base address of the memory location to the pointer calling it..



No No NO , thats true, but my interest is in the api's its gonna use...

ashfame said:
diff in malloc , kalloc and alike?

NOt exactly.