debug.c

来自「一个Windows下的Linux专用虚拟机」· C语言 代码 · 共 31 行

C
31
字号
/* * 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 + =
减小字号Ctrl + -
显示快捷键?