蓝森林首页 | 返回主页 | 本站地图 | 站内搜索 | 联系信箱 |
 您目前的位置:首页 > 自由软件 > 技术交流 > 应用编程


    

蓝森林 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



Copyright © 1999-2000 LSLNET.COM. All rights reserved. 蓝森林网站 版权所有。 E-mail : webmaster@lslnet.com