summaryrefslogtreecommitdiff
path: root/src/user
diff options
context:
space:
mode:
authordzwdz2022-08-26 13:20:05 +0200
committerdzwdz2022-08-26 13:20:05 +0200
commitffdf0e8d93f8e98ed9d5a8270feb2a19eb9659e3 (patch)
treeedee66c0ed5cc518d850fe6070c1eb313df239ce /src/user
parenteba8e12e8f0d113056264f71b8cbcda730e93506 (diff)
user/libc: rename stdlib.c to unistd.c to match header names
Diffstat (limited to 'src/user')
-rw-r--r--src/user/lib/unistd.c (renamed from src/user/lib/stdlib.c)1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/user/lib/stdlib.c b/src/user/lib/unistd.c
index 43405d7..9d0c479 100644
--- a/src/user/lib/stdlib.c
+++ b/src/user/lib/unistd.c
@@ -48,6 +48,7 @@ int execv(const char *path, char *const argv[]) {
return -1;
}
+// stdlib.h
_Noreturn void abort(void) {
_syscall_exit(1);
}