syncfiles/lib/util.h
Dietrich Epp c4bf86786e Reorganize
- Extracted functions to //lib:test for writing tests

- Extracted functions to lib/util.h if they are useful outside tests
2022-03-30 03:46:19 -04:00

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