Add original unix v6

This commit is contained in:
memnoth
2018-01-27 22:35:41 +09:00
commit 2c7099ee50
664 changed files with 106254 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
system(str)
char *str;
{
int status;
if(fork() == 0)
execl("/bin/sh", "sh", "-c", str, 0);
wait(&status);
}