Malloc ( ) ???

Status
Not open for further replies.

Kreeper

Right off the assembly line
Could anyone explain me how exactly Malloc ( Or any other Memory Mamagement Method) works when invoked by a c program?
 

official

In the zone
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..
 
OP
Kreeper

Kreeper

Right off the assembly line
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.
 
Last edited:
Status
Not open for further replies.
Top Bottom