aboutsummaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add missing #endifMattias Andrée2015-10-161-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* index and rindex return with const-quailifier if input has constMattias Andrée2015-10-151-0/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* better solution to returning const if input is const, only requires C99 (actually: C99-capable version of GCC) and GCC, or C11Mattias Andrée2015-10-153-202/+135
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* solve 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ée2015-10-151-0/+120
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* solve 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ée2015-10-151-0/+119
| | | | | | does not work for GNU's basename) Signed-off-by: Mattias Andrée <maandree@operamail.com>
* semiportable integers were added in c99Mattias Andrée2015-10-141-95/+98
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2015-10-132-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2015-10-131-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2015-10-131-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2015-10-131-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* error.h requires _gnu_sourceMattias Andrée2015-10-131-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2015-10-132-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2015-10-131-4/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2015-10-131-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m feature-test macro checkingMattias Andrée2015-10-131-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + info: error reporting facilities from errno.h, string.h and stdio.hMattias Andrée2015-10-131-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2015-10-131-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* CPP directive __func__ requires C99Mattias Andrée2015-10-131-7/+14
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2015-10-131-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* __noreturn shall be at the beginning of the prototypesMattias Andrée2015-10-134-13/+13
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* static_assert is only defined if C11 is usedMattias Andrée2015-10-131-1/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* inclusion guard for assert.h do not guard definitions that depend on NDEBUG being unsetMattias Andrée2015-10-131-12/+15
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* c revision warnings for stdarg.hMattias Andrée2015-10-131-0/+8
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add todo about undefined behaviour of offsetofMattias Andrée2015-10-131-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2015-10-131-4/+10
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* warning if stdalign or stdnoreturn are included without C11Mattias Andrée2015-10-132-0/+8
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* guard 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ée2015-10-131-2/+1
| | | | | | stdbool.h again Signed-off-by: Mattias Andrée <maandree@operamail.com>
* stdbool.h requires c99Mattias Andrée2015-10-131-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* feature-test macrosMattias Andrée2015-10-124-131/+467
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* some feature-test macrosMattias Andrée2015-10-121-1/+62
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* _PORTABLE_SOURCES does not disable POSIX extensionsMattias Andrée2015-10-121-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2015-10-121-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* simplified feature-test macrosMattias Andrée2015-10-1211-105/+131
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add zallocMattias Andrée2015-10-111-0/+25
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* beginning of scanf functionsMattias Andrée2015-10-111-0/+518
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + m docMattias Andrée2015-10-112-5/+10
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add fexec functionsMattias Andrée2015-10-111-0/+91
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add execat functionsMattias Andrée2015-10-111-4/+311
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m doc: exec will use . and default PATH if PATH is not setMattias Andrée2015-10-111-4/+12
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add exec functionsMattias Andrée2015-10-111-0/+186
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* string.h may include strings.hMattias Andrée2015-10-101-0/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add SCN* and PRI* constantsMattias Andrée2015-10-101-0/+1025
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* inttypes.h defines wchar_tMattias Andrée2015-10-101-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* inttypes.h includes stdint.hMattias Andrée2015-10-101-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add abs, labs, llabs, and imaxabsMattias Andrée2015-10-102-0/+57
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2015-10-101-16/+20
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add atofMattias Andrée2015-10-101-0/+15
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add atoi, atol, atoll, and atoqMattias Andrée2015-10-101-0/+57
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add abspath and relpathMattias Andrée2015-10-101-0/+40
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add strstarts strends strcasestarts strcaseends wcsstarts wcsends wcscasestarts wcscaseendsMattias Andrée2015-10-102-0/+112
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>