/usr/lib/bcc/include/assert.h is in elks-libc 0.16.17-3.3.
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 20 21 22 23 | #ifndef __ASSERT_H
#define __ASSERT_H
#include <features.h>
/* If NDEBUG is defined, do nothing.
If not, and EXPRESSION is zero, print an error message and abort. */
#ifdef NDEBUG
#define assert(expr) ((void) 0)
#else /* Not NDEBUG. */
extern void __assert __P((const char *, const char *, int));
#define assert(expr) \
((void) ((expr) || \
(__assert (__STRING(expr), \
__FILE__, __LINE__), 0)))
#endif /* NDEBUG. */
#endif /* __ASSERT_H */
|