gen.h
来自「ELFkickers是一组elf工具」· C头文件 代码 · 共 29 行
H
29 行
/* gen.h: Generic functions and definitions used by all modules. * * Copyright (C) 1999-2001 by Brian Raiter, under the GNU General * Public License. No warranty. See COPYING for details. */#ifndef _gen_h_#define _gen_h_#include <stdio.h>#include <stdlib.h>#ifndef TRUE#define TRUE 1#define FALSE 0#endif/* The memory allocation macro. If memory is unavailable, the program * is aborted. */#define xalloc(p, n) (((p) = realloc((p), (n))) ? (p) : (err(NULL), NULL))/* Prints a message on stderr and returns FALSE. If fmt is NULL, prints * an out-of-memory error and aborts the program. */extern int err(char const *fmt, ...);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?