mailing list of musl libc
 help / color / mirror / code / Atom feed
a5e3cdee762225981205e46c92f05a62ef3e33b3 blob 691 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 
#ifndef _ERR_H
#define _ERR_H

#include <features.h>
#include <stdarg.h>

#ifdef __cplusplus
extern "C" {
#endif

#if __GNUC__ >= 3
#define __fp(x, y) __attribute__ ((__format__ (__printf__, x, y)))
#else
#define __fp(x, y)
#endif

void warn(const char *, ...) __fp(1, 2);
void vwarn(const char *, va_list) __fp(1, 0);
void warnx(const char *, ...) __fp(1, 2);
void vwarnx(const char *, va_list) __fp(1, 0);

_Noreturn void err(int, const char *, ...) __fp(2, 3);
_Noreturn void verr(int, const char *, va_list) __fp(2, 0);
_Noreturn void errx(int, const char *, ...) __fp(2, 3);
_Noreturn void verrx(int, const char *, va_list) __fp(2, 0);

#undef __fp

#ifdef __cplusplus
}
#endif

#endif
debug log:

solving a5e3cde ...
found a5e3cde in https://inbox.vuxu.org/musl/1453591546-23211-1-git-send-email-hauke@hauke-m.de/
found 9f5cb6b in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 9f5cb6b9e9fad0ff255f2dd1b505cfcec4658d26	include/err.h

applying [1/1] https://inbox.vuxu.org/musl/1453591546-23211-1-git-send-email-hauke@hauke-m.de/
diff --git a/include/err.h b/include/err.h
index 9f5cb6b..a5e3cde 100644

Checking patch include/err.h...
Applied patch include/err.h cleanly.

index at:
100644 a5e3cdee762225981205e46c92f05a62ef3e33b3	include/err.h

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).