Subversion Repositories HelenOS-historic

Rev

Rev 1472 | Rev 1653 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1472 Rev 1528
Line 27... Line 27...
27
 */
27
 */
28
 
28
 
29
#ifndef _libc__ERR_H_
29
#ifndef _libc__ERR_H_
30
#define _libc__ERR_H_
30
#define _libc__ERR_H_
31
 
31
 
32
extern void errx (int __status, __const char *__format, ...)
-
 
33
        __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
32
#define errx(status,fmt,...) { printf((fmt),##__VA_ARGS__);_exit(status);}
34
 
33
 
35
#endif
34
#endif