Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | some integer types are pointer-like types that are limited to long | Mattias Andrée | 2015-10-16 | 1 | -6/+23 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | do not assume that size(void*) == size(long) | Mattias Andrée | 2015-10-16 | 2 | -4/+23 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m offsetof doc | Mattias Andrée | 2015-10-16 | 1 | -1/+4 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | fix realloc + add extalloc and naive_extalloc | Mattias Andrée | 2015-10-16 | 1 | -0/+62 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add custom_realloc | Mattias Andrée | 2015-10-16 | 1 | -0/+25 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | typo | Mattias Andrée | 2015-10-16 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | typo | Mattias Andrée | 2015-10-16 | 1 | -3/+3 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | limitations on allocsize | Mattias Andrée | 2015-10-16 | 1 | -0/+5 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | C89 == C90 == ANSI C == Standard C | Mattias Andrée | 2015-10-16 | 1 | -0/+17 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | typo | Mattias Andrée | 2015-10-16 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add missing #endif | Mattias Andrée | 2015-10-16 | 1 | -2/+3 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | index and rindex return with const-quailifier if input has const | Mattias Andrée | 2015-10-15 | 1 | -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 C11 | Mattias Andrée | 2015-10-15 | 3 | -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ée | 2015-10-15 | 1 | -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ée | 2015-10-15 | 1 | -0/+119 |
| | | | | | | does not work for GNU's basename) Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | semiportable integers were added in c99 | Mattias Andrée | 2015-10-14 | 1 | -95/+98 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m | Mattias Andrée | 2015-10-13 | 2 | -2/+2 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | whitespace | Mattias Andrée | 2015-10-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | typo | Mattias Andrée | 2015-10-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | typo | Mattias Andrée | 2015-10-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | error.h requires _gnu_source | Mattias Andrée | 2015-10-13 | 1 | -6/+6 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m | Mattias Andrée | 2015-10-13 | 2 | -6/+6 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m | Mattias Andrée | 2015-10-13 | 1 | -4/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | typo | Mattias Andrée | 2015-10-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m feature-test macro checking | Mattias Andrée | 2015-10-13 | 1 | -2/+2 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m + info: error reporting facilities from errno.h, string.h and stdio.h | Mattias Andrée | 2015-10-13 | 1 | -0/+4 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | typo | Mattias Andrée | 2015-10-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | CPP directive __func__ requires C99 | Mattias Andrée | 2015-10-13 | 1 | -7/+14 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m doc | Mattias Andrée | 2015-10-13 | 1 | -2/+2 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | __noreturn shall be at the beginning of the prototypes | Mattias Andrée | 2015-10-13 | 4 | -13/+13 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | static_assert is only defined if C11 is used | Mattias Andrée | 2015-10-13 | 1 | -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 unset | Mattias Andrée | 2015-10-13 | 1 | -12/+15 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | c revision warnings for stdarg.h | Mattias Andrée | 2015-10-13 | 1 | -0/+8 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add todo about undefined behaviour of offsetof | Mattias Andrée | 2015-10-13 | 1 | -0/+2 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m doc | Mattias Andrée | 2015-10-13 | 1 | -4/+10 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | warning if stdalign or stdnoreturn are included without C11 | Mattias Andrée | 2015-10-13 | 2 | -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ée | 2015-10-13 | 1 | -2/+1 |
| | | | | | | stdbool.h again Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | stdbool.h requires c99 | Mattias Andrée | 2015-10-13 | 1 | -0/+3 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | feature-test macros | Mattias Andrée | 2015-10-12 | 4 | -131/+467 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | some feature-test macros | Mattias Andrée | 2015-10-12 | 1 | -1/+62 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | _PORTABLE_SOURCES does not disable POSIX extensions | Mattias Andrée | 2015-10-12 | 1 | -6/+6 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m doc | Mattias Andrée | 2015-10-12 | 1 | -6/+6 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | simplified feature-test macros | Mattias Andrée | 2015-10-12 | 11 | -105/+131 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add zalloc | Mattias Andrée | 2015-10-11 | 1 | -0/+25 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | beginning of scanf functions | Mattias Andrée | 2015-10-11 | 1 | -0/+518 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m + m doc | Mattias Andrée | 2015-10-11 | 2 | -5/+10 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add fexec functions | Mattias Andrée | 2015-10-11 | 1 | -0/+91 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add execat functions | Mattias Andrée | 2015-10-11 | 1 | -4/+311 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m doc: exec will use . and default PATH if PATH is not set | Mattias Andrée | 2015-10-11 | 1 | -4/+12 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add exec functions | Mattias Andrée | 2015-10-11 | 1 | -0/+186 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> |