猿问
linux中的c语言如何给一个文件重命名?
linux中的c语言如何给一个文件重命名
紫衣仙女
浏览 1451
回答 2
2回答
倚天杖
使用rename函数函数原型:#include <stdio.h>int rename(const char *oldpath, const char *newpath);#include <fcntl.h> /* Definition of AT_* constants */#include <stdio.h>int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath);
0
0
0
莫回无
列: 将test重命名为unfile1mv test unfile
0
0
0
随时随地看视频
慕课网APP
相关问题
centos7里没有locate命令,请问在哪里有centos6.5的镜像文件?
2 回答
相关分类
Linux
linux
2 回答
centos7里没有locate命令,请问在哪里有centos6.5的镜像文件?
2 回答
我要回答