mirror of
https://github.com/depp/syncfiles.git
synced 2024-11-22 19:30:49 +00:00
14 lines
337 B
C
14 lines
337 B
C
|
#ifndef lib_util_h
|
||
|
#define lib_util_h
|
||
|
#include "lib/defs.h"
|
||
|
|
||
|
/* Print an error message and exit. */
|
||
|
void Fatalf(const char *msg, ...)
|
||
|
__attribute__((noreturn, format(printf, 1, 2)));
|
||
|
|
||
|
/* Return a basic description of the given error code, or NULL if the error code
|
||
|
is unknown. */
|
||
|
const char *ErrorDescription(ErrorCode err);
|
||
|
|
||
|
#endif
|