Linux系统下使用C语言和系统提供的接口实现文件的另存为(拷贝粘贴)
以下内容为详细代码
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
int main(int argc, char *argv[])
{
int ret;//返回值
int fd;
char buff[1024];
if(ar
原创
2020-07-22 09:05:38 ·
783 阅读 ·
0 评论