FORKgit add .git add .!

This commit is contained in:
2026-07-08 19:11:39 -05:00
parent e42ee8eb85
commit ec3cbb4794
10 changed files with 146 additions and 105 deletions

View File

@@ -1,12 +1,12 @@
#include "syscall.h"
#include <unistd.h>
int main(int argc, char *argv[]) {
(void)argc;
(void)argv;
int fk = 0;
if ((fk = fork()) > 0) {
return fk;
if (fork() == 0) {
return 1;
}
return 0;