2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
11 /*****************************************************************************
16 void __posixc_assert (
24 This is a function that is used for implementation of the C99 assert()
28 expr - The expression to evaluate. The type of the expression does
29 not matter, only if its zero/NULL or not.
30 file - Name of the source file.
31 line - Line number of assert() call.
34 The function doesn't return.
37 Different versions of this function are available. This function
38 is used when a program is using posixc.library.
45 stdc.library/assert(), stdc.library/__stdc_assert(),
46 stdc.library/__stdcio_assert()
50 ******************************************************************************/
52 fprintf (stderr
, "Assertion (%s) failed in %s:%u\n", expr
, file
, line
);