#include <stdlib.h>
#include <stdio.h>
#include "abort.h"
Go to the source code of this file.
|
| void | _ps_abort (STR msg, int code, STR filename, STR function, int line) |
| | Aborts the program with the given message.
|
| |
◆ _ps_abort()
| void _ps_abort |
( |
STR |
msg, |
|
|
int |
code, |
|
|
STR |
filename, |
|
|
STR |
function, |
|
|
int |
line |
|
) |
| |
Aborts the program with the given message.
- Parameters
-
| msg | The message to print. |
| code | The exit code. |
| filename | The file where the abort was called. |
| function | The function where the abort was called. |
| line | The line where the abort was called. |
Definition at line 7 of file abort.c.