aboutsummaryrefslogtreecommitdiffstats
path: root/include (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-16add missing #endifMattias Andrée1-2/+3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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-14semiportable integers were added in c99Mattias Andrée1-95/+98
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-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-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-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ée1-0/+4
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-13CPP directive __func__ requires C99Mattias Andrée1-7/+14
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-13c revision warnings for stdarg.hMattias Andrée1-0/+8
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-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>
2015-10-13guard stdbool.h with __bool_true_false_are_defined rather than _STDBOOL_H to let the macros to be undefined, and then redefined by including ↵Mattias Andrée1-2/+1
stdbool.h again Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13stdbool.h requires c99Mattias Andrée1-0/+3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-12feature-test macrosMattias Andrée4-131/+467
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-12some feature-test macrosMattias Andrée1-1/+62
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-12_PORTABLE_SOURCES does not disable POSIX extensionsMattias Andrée1-6/+6
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-12m docMattias Andrée1-6/+6
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-12simplified feature-test macrosMattias Andrée11-105/+131
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-11add zallocMattias Andrée1-0/+25
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-11beginning of scanf functionsMattias Andrée1-0/+518
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-11m + m docMattias Andrée2-5/+10
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-11add fexec functionsMattias Andrée1-0/+91
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-11add execat functionsMattias Andrée1-4/+311
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-11m doc: exec will use . and default PATH if PATH is not setMattias Andrée1-4/+12
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-11add exec functionsMattias Andrée1-0/+186
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-10string.h may include strings.hMattias Andrée1-0/+5
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-10add SCN* and PRI* constantsMattias Andrée1-0/+1025
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-10inttypes.h defines wchar_tMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-10inttypes.h includes stdint.hMattias Andrée1-0/+3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-10add abs, labs, llabs, and imaxabsMattias Andrée2-0/+57
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-10mMattias Andrée1-16/+20
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-10add atofMattias Andrée1-0/+15
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-10add atoi, atol, atoll, and atoqMattias Andrée1-0/+57
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-10add abspath and relpathMattias Andrée1-0/+40
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-10add strstarts strends strcasestarts strcaseends wcsstarts wcsends wcscasestarts wcscaseendsMattias Andrée2-0/+112
Signed-off-by: Mattias Andrée <maandree@operamail.com>