⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unionlog.h

📁 这是个unix环境下的通讯程序
💻 H
字号:
#ifndef _UnionLogMDL#define _UnionLogMDL#include <stdio.h>#include <string.h>#include <errno.h>#define gUnionErrMsgIssureID		"00000000"#define gUnionErrMsgIssureName		"Union Error Message Issure"// The two following functions must be defined outside the UnionLogMDL.int UnionGetNameOfLogFile(char *NameOfLogFile);long UnionGetSizeOfLogFile();// *************************************************************// Anytime before calling functions of the UnionLogMDL the first time,// please call this function to connect to the UnionLogMDL.int UnionConnectLogMDL();// Anytime when not calling functions of the UnionLogMDL any more,// please call this function to disconnect to the UnionLogMDL.int UnionDisconnectLogMDL();int UnionGetSystemTime(char *strtime);int UnionGetSystemDate(char *strdate);int UnionGetSystemYear(char *stryear);int UnionGetFullSystemDate(char *strdate);int UnionGetSystemDateTime(char *datetime);int UnionGetFullSystemDateTime(char *datetime);FILE *UnionOpenLogFile();int UnionCloseLogFile(FILE *UnionLogfile);void UnionSystemErrLog(char *,...);void UnionUserErrLog(char *,...);void UnionSuccessLog(char *,...);void UnionLog(char *,...);void UnionNoTimeLog(char *,...);void WriteMemory(FILE *fp,unsigned char *pBuffer,int iBufLen);void UnionMemErrLog(char *pMessage,unsigned char *pBuffer,int iBufLen);void UnionMemLog(char *pMessage,unsigned char *pBuffer,int iBufLen);void UnionPrintf(char *,...);void UnionNullLog(char *,...);#endif

⌨️ 快捷键说明

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