Files
kolibrios/programs/develop/ktcc/trunk/lib/libshell/shell_exit.c
Egor00f a5ef404043 libc.obj: add output to shell.
sometimes it lose chars
2026-02-22 01:07:12 +05:00

11 lines
221 B
C

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