Introduction - If you have any usage issues, please Google them yourself
#define FIFO_NAME1 fifo_test1 //client 利用此管道读,server 用此管道写
#define FIFO_NAME2 fifo_test2 //client 利用次官道写,server 用此管道读
//倒转函数
void reserbuf(char string[512])
{
char temp[512]
for(int i = 0 i<strlen(string)+1 i++)
{ // printf( d ,sizeof(string))
temp[strlen(string)-i]=string[i]
}
temp[strlen(string)+1]= \0
strcpy(string,temp)
}
int main(int argc,char**argv)
{