tahamajs's picture
download
raw
430 Bytes
#include "types.h"
#include "user.h"
#include "fcntl.h"
#include "stat.h"
int main(int argc, char * argv[]){
if (argc < 3){
printf(1, "copy_file: 2 args required\n");
exit();
}
char * src = argv[1];
char * des = argv[2];
if (copy_file(src,des) < 0){
printf(1,"copy_file: cannot copy the file\n");
exit();
}
printf(1,"%s has been copied to %s\n", src, des);
exit();
}

Xet Storage Details

Size:
430 Bytes
·
Xet hash:
aa5f4e8e95d085bba817ad0c8ddfa9415b8e8f1156262dacf0daab26df97b046

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.