GMS Linux: start?

This commit is contained in:
2025-12-30 01:20:20 +00:00
commit ac241a9148
48 changed files with 2028 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
int main(int argc, char *argv[]) {
if (argc != 2) {
printf("Usage: rm <filename>\n");
return 1;
}
if (unlink(argv[1]) < 0) {
perror("rm");
return 1;
}
return 0;
}