]> Git Repo - uclibc-ng.git/blob - include/err.h
We already have tar.h, so might as well include cpio.h as well...
[uclibc-ng.git] / include / err.h
1 #ifndef __ERR_H__
2 #define __ERR_H__
3
4 #define warn(X,args...) ({char _buf[128]; sprintf(_buf, X,args); perror(_buf);})
5 #define err(X,Y,args...) ({char _buf[128]; sprintf(_buf, Y,##args); perror(_buf); exit(X);})
6
7 #endif /* __ERR_H__ */
This page took 0.024766 seconds and 4 git commands to generate.