misc.c

来自「目前已经有很多介绍计算机网络的书籍」· C语言 代码 · 共 21 行

C
21
字号
/* misc.c : * * Misc. Functions: */#include "common.h"/* * * This function reports the error to * the log file and calls exit(1). */voidbail(const char *on_what) {    if ( errno != 0 )        fprintf(stderr,"%s: ",strerror(errno));    fprintf(stderr,"%s\n",on_what);    exit(1);}

⌨️ 快捷键说明

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