aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* info: mallocMattias Andrée2015-10-181-1/+139
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* malloc.h should be included via stdlib.hMattias Andrée2015-10-181-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m infoMattias Andrée2015-10-171-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* info: alloca.hMattias Andrée2015-10-171-1/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* info: more on allocaMattias Andrée2015-10-171-0/+19
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2015-10-171-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add asprintfa and aswprintfaMattias Andrée2015-10-171-1/+84
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* info: allocaMattias Andrée2015-10-171-1/+65
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* info indexMattias Andrée2015-10-171-5/+70
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* info: sections for the memory allocation chapterMattias Andrée2015-10-171-0/+53
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m infoMattias Andrée2015-10-171-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* info: styloMattias Andrée2015-10-171-7/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* info: brief introduction to memory managementMattias Andrée2015-10-172-0/+171
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* improve attributesMattias Andrée2015-10-1719-297/+342
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix errorsMattias Andrée2015-10-1724-156/+241
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m fixesMattias Andrée2015-10-162-9/+10
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2015-10-161-7/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* the compiler determines how wchar is implement + intconf.h contains the signess of charMattias Andrée2015-10-164-3/+62
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* update todoMattias Andrée2015-10-161-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* some integer types are pointer-like types that are limited to longMattias Andrée2015-10-161-6/+23
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* heuristically determine int_fastN_tMattias Andrée2015-10-162-15/+112
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* info: fnindexMattias Andrée2015-10-161-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* inf: (U)INT_LEAST/_FAST{N}_C does not exist, (U)INT{N}_C is usedMattias Andrée2015-10-161-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* do not assume that size(void*) == size(long)Mattias Andrée2015-10-164-4/+25
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2015-10-161-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* improve and fix bprintfMattias Andrée2015-10-161-12/+25
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2015-10-161-0/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m offsetof docMattias Andrée2015-10-161-1/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m infoMattias Andrée2015-10-161-21/+28
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2015-10-161-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix realloc + add extalloc and naive_extallocMattias Andrée2015-10-162-1/+130
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add custom_reallocMattias Andrée2015-10-162-0/+60
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2015-10-162-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2015-10-162-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* limitations on allocsizeMattias Andrée2015-10-162-0/+10
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* info. add section for specialised integer typesMattias Andrée2015-10-161-0/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* C89 == C90 == ANSI C == Standard CMattias Andrée2015-10-162-1/+26
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2015-10-161-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* 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>
* info: portable integer types that should not be used in headersMattias Andrée2015-10-141-0/+15
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m info indexMattias Andrée2015-10-141-0/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* info: semiportable integer typesMattias Andrée2015-10-141-1/+247
| | | | 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>
* info: limitsMattias Andrée2015-10-141-4/+38
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* info: intrinsic integer typesMattias Andrée2015-10-142-0/+123
| | | | 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>