X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=error.h;h=9874003903b202fceecb53ee318cc3e1982419df;hb=4e757d60f7642c61e09a20a2a1de442b23208966;hp=41553e3f9271d799e5d25065d2fe8f071b7376be;hpb=0fbaae7717847b41f4d1218ce44de44c755397c0;p=adu.git diff --git a/error.h b/error.h index 41553e3..9874003 100644 --- a/error.h +++ b/error.h @@ -1,3 +1,9 @@ +/* + * Copyright (C) 2008 Andre Noll + * + * Licensed under the GPL v2. For licencing details see COPYING. + */ + /** * This bit indicates whether a number is considered a system error code. * If yes, the system errno is just the result of clearing this bit from @@ -24,6 +30,16 @@ _ERROR(EMPTY, "file empty") \ _ERROR(MMAP, "mmap error") \ _ERROR(OSL, "osl error") \ + _ERROR(SIGNAL_SIG_ERR, "signal() returned SIG_ERR") \ + _ERROR(OUTPUT, "error writing output") \ + _ERROR(MALFORMED_FORMAT, "malformed format string") \ + _ERROR(BAD_ALIGN_SPEC, "bad alignment specifier") \ + _ERROR(TRAILING_GARBAGE, "trailing garbage after specifier") \ + _ERROR(UNIT, "no unit allowed here") \ + _ERROR(BAD_UNIT, "invalid unit specifier") \ + _ERROR(BAD_ATOM, "invalid atom") \ + _ERROR(BAD_OUTPUT_ARG, "invalid name for output") \ + _ERROR(REGEX, "regular expression error") /**