summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-04-13 18:04:11 +0000
committerwollman <wollman@FreeBSD.org>1995-04-13 18:04:11 +0000
commitddebc4599e2be894d8a68c955ffc9e3e0d232e24 (patch)
treefbf6927f1eb28df85e2a0dd7f66f9d426763b114 /include
parent234ee48c9e8ebbf0d2db32614b86983704b71010 (diff)
downloadFreeBSD-src-ddebc4599e2be894d8a68c955ffc9e3e0d232e24.zip
FreeBSD-src-ddebc4599e2be894d8a68c955ffc9e3e0d232e24.tar.gz
Add err_set_file() and err_set_exit() functions to make it possible for
programs which use err(3) to work nicely in a wider range of environments (e.g., dialog).
Diffstat (limited to 'include')
-rw-r--r--include/err.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/err.h b/include/err.h
index 8236f00..2f065e7 100644
--- a/include/err.h
+++ b/include/err.h
@@ -55,6 +55,8 @@ void warn __P((const char *, ...));
void vwarn __P((const char *, _BSD_VA_LIST_));
void warnx __P((const char *, ...));
void vwarnx __P((const char *, _BSD_VA_LIST_));
+void err_set_file __P((void *));
+void err_set_exit __P((void (*)__P((int))));
__END_DECLS
#endif /* !_ERR_H_ */
OpenPOWER on IntegriCloud