/uspace/trunk/libc/include/err.h/err.h |
---|
26,7 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup libc |
/** @addtogroup libc |
* @{ |
*/ |
/** @file |
35,12 → 35,13 |
#ifndef _libc__ERR_H_ |
#define _libc__ERR_H_ |
#define errx(status,fmt,...) { printf((fmt),##__VA_ARGS__);_exit(status);} |
#define errx(status, fmt, ...) { \ |
printf((fmt), ##__VA_ARGS__); \ |
_exit(status); \ |
} |
#endif |
/** @} |
/** @} |
*/ |