aboutsummaryrefslogtreecommitdiffstats
path: root/include/slibc-error.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-15index and rindex return with const-quailifier if input has constMattias Andrée1-0/+6
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-15better solution to returning const if input is const, only requires C99 (actually: C99-capable version of GCC) and GCC, or C11Mattias Andrée3-202/+135
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-15solve the const-correct problem for functions, in wchar.h, such as wcschr (requires C11 and this thus only applied if compiling with C11)Mattias Andrée1-0/+120
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-15solve the const-correct problem for functions, in string.h, such as strchr (requires C11 and this thus only applied if compiling with C11, and ↵Mattias Andrée1-0/+119
does not work for GNU's basename) Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-14info: portable integer types that should not be used in headersMattias Andrée1-0/+15
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-14m info indexMattias Andrée1-0/+6
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-14info: semiportable integer typesMattias Andrée1-1/+247
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-14semiportable integers were added in c99Mattias Andrée1-95/+98
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-14info: limitsMattias Andrée1-4/+38
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-14info: intrinsic integer typesMattias Andrée2-0/+123
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13mMattias Andrée2-2/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13whitespaceMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13info: slibc-error.hMattias Andrée2-0/+269
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13info styleMattias Andrée1-6/+6
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13m infoMattias Andrée1-1/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13info styleMattias Andrée5-22/+22
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13m infoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13m infoMattias Andrée1-5/+5
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13info: error.hMattias Andrée1-1/+126
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13typoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13typoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13error.h requires _gnu_sourceMattias Andrée1-6/+6
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13info: err.hMattias Andrée1-0/+82
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13mMattias Andrée2-6/+6
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13mMattias Andrée1-4/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13typoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13info: customary prefixes for perrorMattias Andrée1-0/+11
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13m feature-test macro checkingMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13m + info: error reporting facilities from errno.h, string.h and stdio.hMattias Andrée2-2/+261
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13typoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13info: errnoMattias Andrée2-0/+55
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13m infoMattias Andrée1-7/+11
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13fix strrchr bug, return the end of the string if c is 0Mattias Andrée2-2/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13info: assertionsMattias Andrée1-0/+109
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13CPP directive __func__ requires C99Mattias Andrée2-15/+23
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13info typoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13m infoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13m docMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13__noreturn shall be at the beginning of the prototypesMattias Andrée4-13/+13
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13static_assert is only defined if C11 is usedMattias Andrée1-1/+3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13inclusion guard for assert.h do not guard definitions that depend on NDEBUG being unsetMattias Andrée1-12/+15
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13info: variadic functionsMattias Andrée1-4/+98
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13fix use of va_copyMattias Andrée3-0/+3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13c revision warnings for stdarg.hMattias Andrée1-0/+8
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13info: member offsetsMattias Andrée1-0/+37
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13add todo about undefined behaviour of offsetofMattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13info: stdalign.hMattias Andrée1-0/+29
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13info: non-returning functionsMattias Andrée1-0/+41
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13m docMattias Andrée1-4/+10
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13warning if stdalign or stdnoreturn are included without C11Mattias Andrée2-0/+8
Signed-off-by: Mattias Andrée <maandree@operamail.com>