|
蓝森林 http://www.lslnet.com 2006年6月6日 10:18
can I call kmalloc in my program?
I call it,but gcc said that linux/malloc.h no such file or dir
I found vmalloc.h and call vmalloc,but can't do it too
when i call vmalloc
gcc said in /usr/include/linux/vmalloc.h:
parse error before "pgprot_t" |
can I call kmalloc in my program?
-->
kmalloc seems linux kernel API, if you just write userland app, pls don't use it |
| |