📄 debug.c
字号:
/* * This source code is a part of coLinux source package. * * Dan Aloni <da-x@colinux.org>, 2004 (c) * * The code is licensed under the GPL. See the COPYING file at * the root directory. * */ #include "linux_inc.h"#include "manager.h"#include <colinux/kernel/debug.h>void co_debug_system(const char *fmt, ...){ char buf[0x100]; va_list ap; va_start(ap, fmt); co_vsnprintf(buf, sizeof(buf), fmt, ap); printk("%s\n", buf); va_end(ap);}void co_debug_level_system(const char *module, co_debug_facility_t facility, int level, const char *filename, int line, const char *func, const char *text){ /* Dummy */}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -