Linux——open函数、read函数、write函数简单封装使用
问题1:利用读写特性,write写入某个数据之后,将其read读取出来WR.c 源代码//打开文件#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>//读写,关闭#include <unistd.h>//打开文件 int openFile(const char* filePath);//读取文件void readF