assert.c
来自「avr单片机的一些实际应用源码」· C语言 代码 · 共 11 行
C
11 行
#include <stdio.h>
#include <stdlib.h>
void _assert(char *s, char *f, int l)
{
#if !defined(_M8C)
printf("assertion error: \"%s\" on file %s line %d\n", s, f, l);
#endif
exit(1);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?