aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* Fix man pagesMattias Andrée2018-11-036-3/+8
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man pages for realloc wrappersMattias Andrée2018-11-032-0/+400
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add and fix man pagesMattias Andrée2018-11-0315-40/+1665
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix man pagesMattias Andrée2018-11-0316-28/+30
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix man pagesMattias Andrée2018-11-0314-28/+44
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* More man pagesMattias Andrée2018-11-0314-0/+2762
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Remove FREE and CLOSE, and add symlinks for upcoming man pagesMattias Andrée2018-11-02238-42/+237
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* DocumentationMattias Andrée2018-11-0118-45/+2068
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* More header file documentationMattias Andrée2018-10-3118-66/+475
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* More documentationMattias Andrée2018-10-319-11/+517
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man page for timespectostr and timevaltostrMattias Andrée2018-10-304-0/+148
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man page for timeval2timespec and timespec2timevalMattias Andrée2018-10-304-0/+115
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man pages for doubletotime{spec,val} and time{spec,val}todouble, and fix other man pagesMattias Andrée2018-10-3036-42/+219
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man pages for {sum,diff,mul,cmp}time{spec,val}Mattias Andrée2018-10-2917-10/+455
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add documentation to time.hMattias Andrée2018-10-281-0/+214
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2018-10-284-8/+19
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add doc to aligned_memdup.h, memdup.h, strdup.h, and strndup.hMattias Andrée2018-10-274-0/+117
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* man pages: alloca functions require gcc or clangMattias Andrée2018-10-274-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man pages for memdup, aligned_memdup, strdup and strndup functions, and fix strndupaMattias Andrée2018-10-2729-3/+562
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m fixMattias Andrée2018-10-271-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* memdup, aligned_memdup: allocate with size 1 if n is 0Mattias Andrée2018-10-272-2/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Remove strndup, it is in POSIXMattias Andrée2018-10-275-82/+9
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>