src/assert.h

/* [<][>]
[^][v][top][bottom][index][help] */

FUNCTIONS

This source file includes following functions.
  1. assert

/* $Id: assert.h,v 1.1.1.1 1998/07/29 15:14:29 proff Exp $
 * $Copyright$
 */

#ifndef ASSERT_H
#define ASSERT_H

#define assert(x) \
do\
{\
        if (!(x))\
                syslog(LOG_ERR, "%s:%d failed assertion: %s\n", __FILE__, __LINE__, #x);\
} while (0)

#endif /* ASSERT_H */

/* [<][>][^][v][top][bottom][index][help] */