mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 22:04:21 +00:00
also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
25 lines
No EOL
471 B
C
Vendored
25 lines
No EOL
471 B
C
Vendored
#ifndef _ERR_H
|
|
#define _ERR_H
|
|
|
|
#include <features.h>
|
|
#include <stdarg.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void warn(const char *, ...);
|
|
void vwarn(const char *, va_list);
|
|
void warnx(const char *, ...);
|
|
void vwarnx(const char *, va_list);
|
|
|
|
_Noreturn void err(int, const char *, ...);
|
|
_Noreturn void verr(int, const char *, va_list);
|
|
_Noreturn void errx(int, const char *, ...);
|
|
_Noreturn void verrx(int, const char *, va_list);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif |