aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-18m infoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-18info: memory allocation with aligned pointersMattias Andrée1-2/+175
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-18mMattias Andrée1-8/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-18update todoMattias Andrée1-0/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-18feature-test macrosMattias Andrée1-3/+9
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-18mMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-18m infoMattias Andrée1-1/+9
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-18info: mallocMattias Andrée1-1/+139
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-18malloc.h should be included via stdlib.hMattias Andrée1-0/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-17m infoMattias Andrée1-4/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-17info: alloca.hMattias Andrée1-1/+3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-17info: more on allocaMattias Andrée1-0/+19
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-17typoMattias Andrée1-2/+3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-17add asprintfa and aswprintfaMattias Andrée1-1/+84
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-17info: allocaMattias Andrée1-1/+65
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-17info indexMattias Andrée1-5/+70
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-17info: sections for the memory allocation chapterMattias Andrée1-0/+53
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-17m infoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-17info: styloMattias Andrée1-7/+7
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-17info: brief introduction to memory managementMattias Andrée2-0/+171
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-17improve attributesMattias Andrée19-297/+342
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-17fix errorsMattias Andrée24-156/+241
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16m fixesMattias Andrée2-9/+10
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16mMattias Andrée1-7/+6
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16the compiler determines how wchar is implement + intconf.h contains the signess of charMattias Andrée4-3/+62
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16update todoMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16some integer types are pointer-like types that are limited to longMattias Andrée1-6/+23
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16heuristically determine int_fastN_tMattias Andrée2-15/+112
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16info: fnindexMattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16inf: (U)INT_LEAST/_FAST{N}_C does not exist, (U)INT{N}_C is usedMattias Andrée1-4/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16do not assume that size(void*) == size(long)Mattias Andrée4-4/+25
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16whitespaceMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16improve and fix bprintfMattias Andrée1-12/+25
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16mMattias Andrée1-0/+9
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16m offsetof docMattias Andrée1-1/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16m infoMattias Andrée1-21/+28
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16fix realloc + add extalloc and naive_extallocMattias Andrée2-1/+130
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16add custom_reallocMattias Andrée2-0/+60
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16typoMattias Andrée2-2/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16typoMattias Andrée2-6/+6
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16limitations on allocsizeMattias Andrée2-0/+10
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16info. add section for specialised integer typesMattias Andrée1-0/+7
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16C89 == C90 == ANSI C == Standard CMattias Andrée2-1/+26
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-16typoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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>