summaryrefslogtreecommitdiff
path: root/schulung_tools/malloc/malloc.c
AgeCommit message (Collapse)Author
2019-03-28schulung_tools: rename/modify malloc to avoid system()John Ogness
A more complex but cleaner implementation of retrieving/printing the stats has been implemented. The implementation is put into a separate stats.c file so that the main program (malloc.) can be easily reviewed to see what the program is doing. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-28add a malloc exampleManuel Traut
it demonstrates that memory is only allocated if used. Signed-off-by: Manuel Traut <manut@linutronix.de>