?? error.c
字號(hào):
/* * Reconfigurable error handler. * * Note: There are two identical copies of this file. One is nanox/error.c, * and is used by Nano-X client apps, the other is engine/error.c and is * used by everything else (including the Nano-X server and apps using the * Win32 API). If you change one, you probably want to make the same changes * to the other copy. */#include <stdio.h>#include <stdarg.h>#include <string.h>#if (UNIX | DOS_DJGPP)#include <unistd.h>#endif#include "device.h"#if MW_FEATURE_GDERROR/** * Write error message to stderr stream. */intGdError(const char *format, ...){ va_list args; char buf[1024]; va_start(args, format); vsprintf(buf, format, args); write(2, buf, strlen(buf)); va_end(args); return -1;}/** * Write error message to null device (discard). */intGdErrorNull(const char *format, ...){ return -1;}#endif /* MW_FEATURE_GDERROR*/
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -