/*===============================================
* 文件名称:copy.c
* 创 建 者:
* 创建日期:2022年08月24日
* 描 述:
================================================*/
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
int main(int argc, char *argv[])
{
int ret;
char buf[64]={0};
int fd=open("1.txt",O_RDONLY|O_CR
用文件IO实现文件复制
最新推荐文章于 2024-07-02 19:25:21 发布
![](https://img-home.csdnimg.cn/images/20240611030827.png)