_exit.c
来自「嵌入式操作系统T-Kernel 完整代码」· C语言 代码 · 共 32 行
C
32 行
/* *---------------------------------------------------------------------- * T-Kernel * * Copyright (C) 2004 by Ken Sakamura. All rights reserved. * T-Kernel is distributed under the T-License. *---------------------------------------------------------------------- * * Version: 1.01.00 * Released by T-Engine Forum(http://www.t-engine.org) at 2004/6/28. * *---------------------------------------------------------------------- *//* * @(#)_exit.c (libtk) */#include <basic.h>#include <tk/syscall.h>#ifdef __GNUC__extern void tk_ext_tsk(void) __attribute__ ((noreturn));#elseextern void tk_ext_tsk(void);#endifEXPORT void _exit(int status){ tk_ext_tsk();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?