Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include Add the {v, }{warn, err}c function flavors from FreeBSD
details: https://anonhg.NetBSD.org/src/rev/1f4b9b276fab
branches: trunk
changeset: 792778:1f4b9b276fab
user: christos <christos%NetBSD.org@localhost>
date: Thu Jan 16 17:22:06 2014 +0000
description:
Add the {v,}{warn,err}c function flavors from FreeBSD
diffstat:
include/err.h | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 0fdb750e6581 -r 1f4b9b276fab include/err.h
--- a/include/err.h Thu Jan 16 17:21:38 2014 +0000
+++ b/include/err.h Thu Jan 16 17:22:06 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: err.h,v 1.16 2011/07/17 20:54:34 joerg Exp $ */
+/* $NetBSD: err.h,v 1.17 2014/01/16 17:22:06 christos Exp $ */
/*-
* Copyright (c) 1993
@@ -46,6 +46,10 @@
__printflike(2, 3) __dead;
__dead void verrx(int, const char *, va_list)
__printflike(2, 0) __dead;
+__dead void errc(int, int, const char *, ...)
+ __printflike(3, 4) __dead;
+__dead void verrc(int, int, const char *, va_list)
+ __printflike(3, 0) __dead;
void warn(const char *, ...)
__printflike(1, 2);
void vwarn(const char *, va_list)
@@ -54,6 +58,10 @@
__printflike(1, 2);
void vwarnx(const char *, va_list)
__printflike(1, 0);
+void warnc(int, const char *, ...)
+ __printflike(2, 3);
+void vwarnc(int, const char *, va_list)
+ __printflike(2, 0);
__END_DECLS
#endif /* !_ERR_H_ */
- Prev by Date:
[src/trunk]: src/lib/libc Add the {v, }{err, warn}c flavors, from FreeBSD.
- Next by Date:
[src/trunk]: src/tools/compat Add the {v,}{err,warn}c functions
- Previous by Thread:
[src/trunk]: src/lib/libc Add the {v, }{err, warn}c flavors, from FreeBSD.
- Next by Thread:
[src/trunk]: src/tools/compat Add the {v,}{err,warn}c functions
- Indexes:
Home |
Main Index |
Thread Index |
Old Index