dummy.c
来自「基于组件方式开发操作系统的OSKIT源代码」· C语言 代码 · 共 13 行
C
13 行
/* * This is to just reference mem_lock so the one from libkern gets * pulled in instead of from libc. * This is necessary for applications that use the devices (or maybe * just Linux ones, which allocate mem in interrupt handlers). */static void dummy() { extern void mem_lock(void); extern void mem_unlock(void); mem_lock(); mem_unlock();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?