onferr.c
来自「一个c语言写做的编译器的源码」· C语言 代码 · 共 16 行
C
16 行
/*@A (C) 1992 Allen I. Holub */
#include <stdio.h> /* FILE def needed by l.h. */
#include <stdlib.h> /* includes extern definition for errno */
#include <stdarg.h> /* va_list def needed by l.h. */
#include <tools/debug.h>
#include <tools/l.h> /* Needed only for prototypes */
/* This is the default routine called by ferr when it exits. It should return
* the exit status. You can supply your own version of this routine if you like.
*/
int on_ferr()
{
UNIX( extern int errno; )
return errno;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?