files
kolibrios/programs/develop/ktcc/lib/libshell/shell_exit.c
Andrew 58f45efc24
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 24s
Build system / Build (pull_request) Successful in 4m26s
develop/ktcc: Post-SVN tidy
- Move source code from `trunk` into program root directory.
- Update build files and include paths.
- These changes also update the CI build files in `.gitea/workflows/`.
- Note: Line endings standardised from `CRLF` > `LF`, so best to view diffs with whitespace changes hidden.
2025-05-24 12:12:13 +01:00

11 lines
200 B
C

#include <shell_api.h>
#include <sys/ksys.h>
void shell_exit()
{
if(__shell_is_init){
*__shell_shm = SHELL_EXIT;
__SHELL_WAIT();
_ksys_shm_close(__shell_shm_name);
}
}