?? util.h
字號(hào):
#ifndef _UTIL_H_
#define _UTIL_H_
#include <time.h>
#include <stdarg.h>
#ifdef __cplusplus
extern "C" {
#endif
void msgTime(time_t* ret_time, struct tm* ret_tm);
void msgPrn(const char *msg_type, char* fmt, va_list ap);
void errMsg(char* fmt, ...);
void wrnMsg(char* fmt, ...);
void infMsg(char* fmt, ...);
void dbgMsg(char* fmt, ...);
void wrnMsg(char* fmt, ...);
/*
* pub func
* get date-time string
*/
int get_date_time_string(char *buf);
const char *get_cur_time();
int mklic(const char *dead_time);
int chklic(const char *time);
int init_log(const char *name);
int disinit_log();
#ifdef __cplusplus
}
#endif
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -