cleanup.c
来自「vxworks源码源码解读是学习vxworks的最佳途径」· C语言 代码 · 共 33 行
C
33 行
/* This has been copied from the gnu source tree *//* Make all changes there, not here! */#ifdef __cplusplusextern "C" {#endif#ifndef _N_char __cleanup_o = 0;#elsechar _N_ = 0;#endif#ifdef __cplusplus}#endif#include "vxWorks.h"#include "libioP.h"#if _G_HAVE_ATEXIT#include <stdlib.h>typedef void (*voidfunc) __P((void));static void_IO_register_cleanup (){ atexit ((voidfunc)_IO_cleanup); _IO_cleanup_registration_needed = 0;}void (*_IO_cleanup_registration_needed)() = _IO_register_cleanup;#elsevoid (*_IO_cleanup_registration_needed)() = NULL;#endif /* _G_HAVE_ATEXIT */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?