📄 common.h
字号:
/*
* FileName: command.h
* Author: casiawu Version: 1.00 Date: 2006-6-8
* Description: Common header file
* Version: 1.00
* Function List:
* 1.
* History:
* <author> <time> <version > <desc>
*/
#ifndef _COMMONHEADER_H
#define _COMMONHEADER_H
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <time.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <time.h>
#include <sys/file.h>
#include <termios.h>
#include <sys/ioctl.h>
#include <linux/rtc.h>
#include <sys/shm.h>
#include <signal.h>
#include <sys/ipc.h>
#include <dirent.h>
typedef unsigned char uchar;
typedef const unsigned char cchar;
/* define parameter data struct */
typedef struct _headerlcd
{
uchar ititle[4];
uchar irtc[8];
uchar iinfo1[240];
uchar iinfo2[240];
uchar ilength1;
uchar ilength2;
}HEADER_LCD, *LHEADER_LCD;
//#undef DEBUG /* #define DEBUG 1 */
#define DEBUG 1
#ifdef DEBUG
#define DPRINTF( x... ) printf( ##x )
#else
#define DPRINTF( x... )
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -