tahamajs's picture
download
raw
390 Bytes
#include "types.h"
#include "stat.h"
#include "user.h"
int main(int argc, char *argv[]) {
if (argc != 3) {
printf(2, "Usage: test_move <source_file> <destination_dir>\n");
exit();
}
if (move_file(argv[1], argv[2]) < 0) {
printf(2, "move_file failed\n");
exit();
} else {
printf(1, "File moved successfully\n");
}
exit();
}

Xet Storage Details

Size:
390 Bytes
·
Xet hash:
b1b6a9ba8117db59c8294628a8a4d025d2266e74f78cde6abc369104fad3422d

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