Changeset 89c57b6 in mainline for uspace/lib/c/include/err.h
- Timestamp:
- 2011-04-13T14:45:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 88634420
- Parents:
- cefb126 (diff), 17279ead (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/err.h
rcefb126 r89c57b6 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.