PatchworkOS  19e446b
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 exits(F("%d", status));
10}
void exit(int status)
Definition exit.c:7
#define F(format,...)
Allocates a formatted string on the stack.
Definition fs.h:67
_NORETURN void exits(const char *status)
System call that handles pending notes for the current thread.
Definition proc_exit.c:7