hpux man page for assert

Query: assert

OS: hpux

Section: 3x

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

assert(3X)																assert(3X)

NAME
assert() - verify program assertion
SYNOPSIS
DESCRIPTION
This macro is useful for putting diagnostics into programs. When it is executed, if expression is false (zero), prints: on the standard error output and aborts. In the error message, xyz is the name of the source file and nnn the source line number of the statement. Compiling with the preprocessor option (see cpp(1)), or with the preprocessor control statement ahead of the statement, stops assertions from being compiled into the program.
WARNINGS
The expression argument used by in compatibility mode cannot contain string literals or double quotes without escapes.
SEE ALSO
cpp(1), abort(3C), thread_safety(5).
STANDARDS CONFORMANCE
assert(3X)
Related Man Pages
assert(3) - netbsd
assert(3) - osf1
assert(3c) - sunos
assert(3head) - sunos
assert.h(3head) - centos
Similar Topics in the Unix Linux Community
FEST-Assert 1.0a1 (Default branch)
SFTP error Assertion failed
FEST-Assert 1.0 (Default branch)
FCC looks at ways to assert authority over Web access
Fork thread, Assertion failed. X11.