Changeset eb522e8 in mainline for uspace/lib/c/include/err.h
- Timestamp:
- 2011-06-01T08:43:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d6c1f1
- Parents:
- 9e2e715 (diff), e51a514 (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
r9e2e715 reb522e8 38 38 #include <stdio.h> 39 39 40 #define errx(status, fmt, ...) { \ 41 printf((fmt), ##__VA_ARGS__); \ 42 _exit(status); \ 43 } 40 #define errx(status, fmt, ...) \ 41 do { \ 42 printf((fmt), ##__VA_ARGS__); \ 43 exit(status); \ 44 } while (0) 44 45 45 46 #endif … … 47 48 /** @} 48 49 */ 49
Note:
See TracChangeset
for help on using the changeset viewer.