PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
exit.c
Go to the documentation of this file.
1#include <stdlib.h>
2
4#include "user/common/file.h"
6
7void exit(int status)
8{
9 _exit(F("%d", status));
10}
void exit(int status)
Definition exit.c:7
#define F(format,...)
Format string macro.
Definition io.h:83
_NORETURN void _exit(const char *status)
System call that handles pending notes for the current thread.
Definition _exit.c:7