?? syslog.h
字號:
/************************************************************************/
/* */
/* MODULE: syslog.h */
/* PRODUCT: pNA+, OpEN TCP/IP PPP driver */
/* PURPOSE: Logging routine */
/* DATE: 28th February 1996 */
/* */
/*----------------------------------------------------------------------*/
/* */
/* Copyright 1996, Integrated Systems Inc. */
/* ALL RIGHTS RESERVED */
/* */
/* This computer program is the property of Integrated Systems Inc. */
/* Santa Clara, California, U.S.A. and may not be copied */
/* in any form or by any means, whether in part or in whole, */
/* except under license expressly granted by Integrated Systems Inc. */
/* */
/* All copies of this program, whether in part or in whole, and */
/* whether modified or not, must display this and all other */
/* embedded copyright and ownership notices in full. */
/* */
/*----------------------------------------------------------------------*/
#ifndef _sys_syslog_h
#define _sys_syslog_h
/*
* Priorities (these are ordered)
*/
#define LOG_EMERG 0 /* system is unusable */
#define LOG_ALERT 1 /* action must be taken immediately */
#define LOG_CRIT 2 /* critical conditions */
#define LOG_ERR 3 /* error conditions */
#define LOG_WARNING 4 /* warning conditions */
#define LOG_NOTICE 5 /* normal but signification condition */
#define LOG_INFO 6 /* informational */
#define LOG_DEBUG 7 /* debug-level messages */
/*----------------------------------------------------------------------*/
/* prototypes */
/*----------------------------------------------------------------------*/
extern void syslog(int pri, char *fmt, ...);
extern void logprint(void *, char *, ...);
extern void ISRLOG(int pri, char *fmt, ...);
#endif /*!_sys_syslog_h*/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -