⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kernel.h

📁 linux-0.10 对于想了解linux内核,而又不想花太多精力的人,最好就是这种低版本,而具有核心价值的程序
💻 H
字号:
/* * 'kernel.h' contains some often-used function prototypes etc */void verify_area(void * addr,int count);volatile void panic(const char * str);int printf(const char * fmt, ...);int printk(const char * fmt, ...);int tty_write(unsigned ch,char * buf,int count);void *malloc(unsigned int len);void free_s(void *obj, int size);#define free(x)  free_s((x), 0)/* * This is defined as a macro, but at some point this might become a * real subroutine that sets a flag if it returns true (to do * BSD-style accounting where the process is flagged if it uses root * privs).  The implication of this is that you should do normal * permissions checks first, and check suser() last. */#define suser() (current->euid == 0)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -