MentOS  0.8.0
The Mentoring Operating System
Functions
assert.c File Reference

Functions

void __assert_fail (const char *assertion, const char *file, const char *function, unsigned int line)
 Function used to log the information of a failed assertion. More...
 

Detailed Description

Function Documentation

◆ __assert_fail()

void __assert_fail ( const char *  assertion,
const char *  file,
const char *  function,
unsigned int  line 
)

Function used to log the information of a failed assertion.

Parameters
assertionThe failed assertion.
fileThe file where the assertion is located.
functionThe function where the assertion is.
lineThe line inside the file.