PatchworkOS
Loading...
Searching...
No Matches
exit.c
Go to the documentation of this file.
1
#include <
stdlib.h
>
2
3
#include "
user/common/exit_stack.h
"
4
#include "
user/common/file.h
"
5
#include "
user/common/syscalls.h
"
6
7
void
exit
(
int
status)
8
{
9
_exit_stack_dispatch
();
10
_files_close
();
11
_syscall_process_exit
(status);
12
}
exit
void exit(int status)
Definition
exit.c:7
_exit_stack_dispatch
void _exit_stack_dispatch(void)
Definition
exit_stack.c:27
exit_stack.h
_files_close
void _files_close(void)
Definition
file.c:278
file.h
syscalls.h
_syscall_process_exit
static _NORETURN void _syscall_process_exit(uint64_t status)
Definition
syscalls.h:91
stdlib.h
src
libstd
user
functions
stdlib
exit.c
Generated by
1.9.8