📄 gprs_modem.h
字号:
#include <stdio.h> /*标准输入输出定义*/
#include <stdlib.h> /*标准函数库定义*/
#include <unistd.h> /*Unix标准函数定义*/
#include <sys/types.h> /**/
#include <sys/stat.h> /**/
#include <fcntl.h> /*文件控制定义*/
#include <termios.h> /*PPSIX终端控制定义*/
#include <errno.h> /*错误号定义*/
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <sys/ipc.h>
#include <semaphore.h>
#include <sys/wait.h>
#define FIFO "myfifo"
#define FALSE 0
#define TRUE 1
struct shortmsg
{
int index;
char msgcontent[100];
char sender[20];
time_t sendtime;
};
int com;
int fd;
char gprs_reply_buf[100];
char *pRecvMessage[100];
sem_t sem_recvmessage,sem_recvread;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -