Debian Codegraph @

libphobos/libdruntime/core/sys/openbsd/err.d

raw
1 /**
2 * D header file for OpenBSD err.h.
3 *
4 * Copyright: Copyright © 2019, The D Language Foundation
5 * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
6 * Authors: Ernesto Castellotti
7 */
8 module core.sys.openbsd.err;
9 import core.stdc.stdarg : va_list;
10
11 version (OpenBSD):
12 extern (C):
13 nothrow:
14 @nogc:
15
16 void err(int eval, scope const char* fmt, ...);
17 void errc(int eval, int code, scope const char* fmt, ...);
18 void errx(int eval, scope const char* fmt, ...);
19 void warn(scope const char* fmt, ...);
20 void warnc(int code, scope const char* fmt, ...);
21 void warnx(scope const char* fmt, ...);
22 void verr(int eval, scope const char* fmt, va_list args);
23 void verrc(int eval, int code, scope const char* fmt, va_list args);
24 void verrx(int eval, scope const char* fmt, va_list args);
25 void vwarn(scope const char* fmt, va_list args);
26 void vwarnc(int code, scope const char* fmt, va_list args);
27 void vwarnx(scope const char* fmt, va_list args);