⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exit.c

📁 freedos32的源代码
💻 C
字号:
#include <ll/i386/hw-data.h>#include <kernel.h>#include <stubinfo.h>#include <unistd.h>extern struct psp *current_psp;void _exit(int res){  void restore_sp(int res);#ifdef __NATIVE_LIBC_DEBUG__  fd32_log_printf("[DPMI] Return to DOS: return code 0x%x\n", res);  fd32_log_printf("Current stack: 0x%lx\n", get_sp());#endif  /* Restore the PSP */  fd32_free_jft(current_psp->jft, current_psp->jft_size);  current_psp = current_psp->link;  restore_sp(res);  /* We do not arrive here... This is just for avoiding warnings */  while(1);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -