kolibrios/programs/develop/ktcc/trunk/lib/libshell/shell_exit.c
turbocat d38b3890d2 Added libshell for TCC
git-svn-id: svn://kolibrios.org@9207 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-26 19:56:07 +00: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);
}
}