当前位置: 技术问答>linux和unix
文件写入读取小程序,希望各位大神帮忙修改一下~~~
来源: 互联网 发布时间:2017-01-23
本文导语: #include #include #include #include #include #include #define SIZ 20 #define RETURN_FAILURE 20 int rd(); int wr(); char buffer[SIZ] = ""; int nread = 0; int fd; int main(int argc, char **argv) { int rw; if (argc
#include
#include
#include
#include
#include
#include
#define SIZ 20
#define RETURN_FAILURE 20
int rd();
int wr();
char buffer[SIZ] = "";
int nread = 0;
int fd;
int main(int argc, char **argv)
{
int rw;
if (argc
#include
#include
#include
#include
#include
#define SIZ 20
#define RETURN_FAILURE 20
int rd();
int wr();
char buffer[SIZ] = "";
int nread = 0;
int fd;
int main(int argc, char **argv)
{
int rw;
if (argc