test.h

来自「vxWorks demo官方源码」· C头文件 代码 · 共 33 行

H
33
字号
/* test.h - test library header file *//* Copyright 1992 Wind River Systems, Inc. *//*modification history--------------------01a,29jul91,smb  written.*/#ifndef __lib_test_h#define __lib_test_h#include "stdio.h"#define ALL_OUTPUTS 0static void assert (string, x)    char *string;    int x;{    fdprintf (2, string, x);}#define ASSERT(x) ((x)? 0: (assert("Assert: "__FILE__" %s\n", #x), 1))/*#define ASSERT(x) ((x)? 0: (fdprintf(2,"Assert: "__FILE__" %s\n", #x), 1))*/int tmcmp(struct tm *tm1, struct tm *tm2); /* @@@ ldt */#endif /* !__lib_test_h */

⌨️ 快捷键说明

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