libc: refactoring

This commit is contained in:
2019-11-28 02:35:52 +01:00
parent f104c46858
commit 4067cb45cb
75 changed files with 596 additions and 355 deletions

View File

@@ -15,9 +15,9 @@ main(void)
{
static int c;
int pid;
pid = rfork(RFMEM|RFPROC);
pid = sys_rfork(RFMEM|RFPROC);
if (pid < 0) {
print("FAIL: rfork\n");
print("FAIL: sys_rfork\n");
exits("FAIL");
}
if (pid > 0) {