my_log.h

来自「模仿cisco路由器」· C头文件 代码 · 共 25 行

H
25
字号
/*	Copyright (C) 2002, 2003 Slava Astashonok <sla@0n.ru>	This program is free software; you can redistribute it and/or	modify it under the terms of the GNU General Public License.	$Id: my_log.h,v 1.1.1.1.2.1 2003/03/28 22:57:52 sla Exp $*/#ifndef _MY_LOG_H_#define _MY_LOG_H_#define MY_LOG_SYSLOG 0x01#define MY_LOG_STDOUT 0x02#define MY_LOG_SYSLOG_FACILITY LOG_DAEMON#define MY_LOG_MAX_INDEX 32#include <syslog.h>void my_log_open(char *, unsigned, unsigned);void my_log_close(void);void my_log(unsigned, const char *, ...);#endif

⌨️ 快捷键说明

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