Changeset View
Changeset View
Standalone View
Standalone View
include/err.h
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | |||||
void warn(const char *, ...) __printf0like(1, 2); | void warn(const char *, ...) __printf0like(1, 2); | ||||
void vwarn(const char *, __va_list) __printf0like(1, 0); | void vwarn(const char *, __va_list) __printf0like(1, 0); | ||||
void warnc(int, const char *, ...) __printf0like(2, 3); | void warnc(int, const char *, ...) __printf0like(2, 3); | ||||
void vwarnc(int, const char *, __va_list) __printf0like(2, 0); | void vwarnc(int, const char *, __va_list) __printf0like(2, 0); | ||||
void warnx(const char *, ...) __printflike(1, 2); | void warnx(const char *, ...) __printflike(1, 2); | ||||
void vwarnx(const char *, __va_list) __printflike(1, 0); | void vwarnx(const char *, __va_list) __printflike(1, 0); | ||||
void err_set_file(void *); | void err_set_file(void *); | ||||
void err_set_exit(void (*)(int)); | void err_set_exit(void (*)(int)); | ||||
#ifdef __BLOCKS__ | |||||
void err_set_exit_b(void (^)(int)); | |||||
#endif /* __BLOCKS__ */ | |||||
__END_DECLS | __END_DECLS | ||||
#endif /* !_ERR_H_ */ | #endif /* !_ERR_H_ */ |