📄 test.c
字号:
#include <linux/unistd.h>#include<stdio.h>#include<stdlib.h>#define __NR_filecopy 285_syscall2(int,filecopy,char*,args,char*,argd)int errno;int main(){ int i; char args[20],argd[20]; int buf; printf("Input the source file name: "); scanf("%s",&args); printf("Input the target file name: "); scanf("%s",&argd); if(!strcmp(args,argd)){ printf("The name has been used!\n"); return 0; } i=filecopy(args,argd); printf("ok!\n"); return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -