save
This commit is contained in:
24
lib/err.h
Normal file
24
lib/err.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/* Copyright (C) GCK
|
||||
*
|
||||
* This file is part of gcklib
|
||||
*
|
||||
* This project and file is licensed under the BSD-3-Clause licence.
|
||||
* <https://opensource.org/licence/bsd-3-clause>
|
||||
*/
|
||||
|
||||
#ifndef ERR_H
|
||||
#define ERR_H
|
||||
|
||||
void errorf(const char *format, ...);
|
||||
void fatalf(const char *format, ...);
|
||||
void notef(const char *format, ...);
|
||||
void warnf(const char *format, ...);
|
||||
void hintf(const char *format, ...);
|
||||
|
||||
void errorfa(int code);
|
||||
void fatalfa(int code);
|
||||
void notefa(int code);
|
||||
void warnfa(int code);
|
||||
void hintfa(int code);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user