aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Some fixes and add wide-character string duplication functionsMattias Andrée2018-11-2530-85/+767
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Include wchar.h and wctype.hMattias Andrée2018-11-252-2/+6
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add [e[n]]aligned_str[n]dup and aligned_str[n]dupaMattias Andrée2018-11-257-2/+388
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add arraydup macros1.1Mattias Andrée2018-11-251-0/+48
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add array.hMattias Andrée2018-11-253-0/+119
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man pages for [raw]memelem{cpy,move}Mattias Andrée2018-11-259-5/+225
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man pagesMattias Andrée2018-11-2518-7/+435
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Install man pagesMattias Andrée2018-11-251-0/+14
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man pages for {str,stp}[n]setMattias Andrée2018-11-256-4/+188
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix consistence in memelem functionsMattias Andrée2018-11-2532-565/+565
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man pagesMattias Andrée2018-11-2527-17/+906
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man pagesMattias Andrée2018-11-2534-17/+1142
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man pagesMattias Andrée2018-11-24109-21/+1726
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add tests for memelem{move,cpy}Mattias Andrée2018-11-242-2/+400
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add [raw]memelem{cpy,move}Mattias Andrée2018-11-2411-43/+839
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add testsMattias Andrée2018-11-2312-8/+345
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Split out memelem.h from mem.hMattias Andrée2018-11-234-261/+264
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Some fixes and testsMattias Andrée2018-11-2316-53/+996
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add a bunch of function and macrosMattias Andrée2018-11-1960-166/+3715
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add memelemscanMattias Andrée2018-11-1710-5/+216
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add memscan and memcasescanMattias Andrée2018-11-1716-7/+307
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2018-11-171-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add st{r,p}[n]moveMattias Andrée2018-11-1613-5/+391
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add mempmoveMattias Andrée2018-11-166-4/+109
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* memisutf8: string can be NULL (if n is 0)Mattias Andrée2018-11-161-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add strnisutf8 and memisutf8Mattias Andrée2018-11-1611-71/+190
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add TWOS_COMPLEMENT, ONES_COMPLEMENT, and SIGN_MAGNITUDEMattias Andrée2018-11-163-2/+42
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* memalloc/arrayalloc: add L1-cache optimisationMattias Andrée2018-11-154-64/+179
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* libsimple-arg: add test for long optionsMattias Andrée2018-11-152-5/+217
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix man page aliasMattias Andrée2018-11-141-0/+0
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* libsimple-arg: test that ARGHERE() == &LFLAG()[1] for the first flagMattias Andrée2018-11-141-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Some fixes to libsimple-arg.h, test everything except long arguments, and fix some man pagesMattias Andrée2018-11-148-87/+608
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Document libsimple-arg.h and add support optional arguments on long options and add KEEP_DASHDASH to ARGBEGIN3 (now named ARGBEGIN4)Mattias Andrée2018-11-112-50/+278
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Document most of libsimple-arg.hMattias Andrée2018-11-0918-9/+566
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Update READMEMattias Andrée2018-11-071-421/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Move section 3 man pages to man3/ and add libsimple.h.0Mattias Andrée2018-11-07530-0/+1220
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add arrayalloc man pageMattias Andrée2018-11-0635-12/+261
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2018-11-061-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man page for memallocMattias Andrée2018-11-0635-13/+346
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libsimple_eprintf_preprint and libsimple_eprintf_postprintMattias Andrée2018-11-069-15/+129
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add tests for mem[p]setelem and add man pages for libsimple_default_failure_exitMattias Andrée2018-11-065-5/+72
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add more man pagesMattias Andrée2018-11-059-0/+513
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man page for libsimple_closeMattias Andrée2018-11-051-0/+49
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add tests and small fixesMattias Andrée2018-11-057-18/+853
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2018-11-052-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Rename isutf8 to strisutf8 and add man pageMattias Andrée2018-11-055-56/+130
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man pages for unlistMattias Andrée2018-11-051-0/+98
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add ischrcaseset and man pages for ischrset, ischrcaseset, and [v]{we,en,e}printfMattias Andrée2018-11-0512-39/+335
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man page for the [v]asprintf[a] functionsMattias Andrée2018-11-041-0/+195
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man pages for posix_memalign wrappersMattias Andrée2018-11-034-0/+805
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>