develop/ktcc: Post-SVN tidy
- Move source code from `trunk` into program root directory. - Update build files.
This commit is contained in:
11
programs/develop/ktcc/lib/libshell/shell_exit.c
Normal file
11
programs/develop/ktcc/lib/libshell/shell_exit.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user