Motr  M0

#include <assert.h>

Collaboration diagram for m0_panic_ctx:
Collaboration graph

Data Fields

const char * pc_expr
 
const char * pc_func
 
const char * pc_file
 
int pc_lineno
 
const char * pc_fmt
 

Detailed Description

Panic context

Definition at line 80 of file assert.h.

Field Documentation

◆ pc_expr

const char* pc_expr

Panic message, usually it's a failed condition, which "triggers" panic.

Definition at line 85 of file assert.h.

◆ pc_file

const char* pc_file

Name of a file, i.e. FILE

Definition at line 89 of file assert.h.

◆ pc_fmt

const char* pc_fmt

Additional informational message with printf(3) like formatting, which will be displayed after the failed condition and can be used as an explanation of why condition has failed

Definition at line 97 of file assert.h.

◆ pc_func

const char* pc_func

Name of a function, which calls m0_panic(), i.e. func

Definition at line 87 of file assert.h.

◆ pc_lineno

int pc_lineno

Line number, i.e. LINE

Definition at line 91 of file assert.h.


The documentation for this struct was generated from the following file: