aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Improve libsimple-arg.h for multicall binaries1.3Mattias Andrée2021-04-041-1/+11
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Set CC=cc in config.mkMattias Andrée2021-04-021-1/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix tests and libsimple_arraycpy and libsimple_arraymove1.2Mattias Andrée2021-02-264-4/+7
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2021-02-264-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libsimple_[e[n]]{local,gm}time, remove dates from man pages, and add blank lines between sections in man pagesMattias Andrée2021-02-26224-778/+3535
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add testsMattias Andrée2018-12-152-3/+63
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* More tests and fix attributes on wcsndupMattias Andrée2018-12-1527-84/+1184
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* A bunch of stuffMattias Andrée2018-11-29168-89/+4861
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2018-11-253-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* 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>