Changes in uspace/lib/c/include/err.h [63f8966:47b7006] in mainline
- File:
-
- 1 edited
-
uspace/lib/c/include/err.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/err.h
r63f8966 r47b7006 36 36 #define LIBC_ERR_H_ 37 37 38 #define errx(status, fmt, ...) { \ 39 printf((fmt), ##__VA_ARGS__); \ 40 _exit(status); \ 41 } 38 #include <stdio.h> 39 40 #define errx(status, fmt, ...) \ 41 do { \ 42 printf((fmt), ##__VA_ARGS__); \ 43 exit(status); \ 44 } while (0) 42 45 43 46 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
