/usr/include/lrcalc/claim.h is in liblrcalc-dev 1.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #ifndef _CLAIM_H_
#define _CLAIM_H_
/* The macro claim works like the standard C macro assert except that when
it fails it provokes a segmentation fault, which makes it possible to
use a gdb */
#ifdef DEBUG
#define CLAIM
#endif
#include <stdio.h>
#ifdef CLAIM
#define claim(ex) ((void) ((ex) || (fprintf(stderr, "%s:%d: Claim `%s' failed\n", __FILE__, __LINE__, #ex), (*(char *)-1)=7)))
#else
#define claim(ex) ((void) 0)
#endif
#endif
|