support.c
来自「Newlib 嵌入式 C库 标准实现代码」· C语言 代码 · 共 25 行
C
25 行
/* * support.c -- minimal support functions. This is to keep the exit code * generic enough that pattern matching from expect should be easier. */#if defined (unix)#define PRINT printf /* so we can test on a native system */#else#define PRINT iprintf /* this is only in newlib */#endifintfail (str)char *str;{ PRINT ("FAIL: %s\n", str);}intpass (str)char *str;{ PRINT ("PASS: %s\n", str);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?