assert.h defines one macro function that can be used as a standard debugging tool:
assert.h
See: Functions