aboutsummaryrefslogtreecommitdiffstats
path: root/enstrndup.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-02-26mMattias Andrée4-0/+4
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-02-26Add libsimple_[e[n]]{local,gm}time, remove dates from man pages, and add blank lines between sections in man pagesMattias Andrée224-778/+3535
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-12-15Add testsMattias Andrée2-3/+63
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-12-15More tests and fix attributes on wcsndupMattias Andrée27-84/+1184
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-29A bunch of stuffMattias Andrée168-89/+4861
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-25mMattias Andrée3-3/+3
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-25Some fixes and add wide-character string duplication functionsMattias Andrée30-85/+767
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-25Include wchar.h and wctype.hMattias Andrée2-2/+6
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-25Add [e[n]]aligned_str[n]dup and aligned_str[n]dupaMattias Andrée7-2/+388
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-25Add arraydup macros1.1Mattias Andrée1-0/+48
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-25Add array.hMattias Andrée3-0/+119
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-25Add man pages for [raw]memelem{cpy,move}Mattias Andrée9-5/+225
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-25Add man pagesMattias Andrée18-7/+435
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-25Install man pagesMattias Andrée1-0/+14
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-25Add man pages for {str,stp}[n]setMattias Andrée6-4/+188
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-25Fix consistence in memelem functionsMattias Andrée32-565/+565
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-25Add man pagesMattias Andrée27-17/+906
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-25Add man pagesMattias Andrée34-17/+1142
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-24Add man pagesMattias Andrée109-21/+1726
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-24Add tests for memelem{move,cpy}Mattias Andrée2-2/+400
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-24Add [raw]memelem{cpy,move}Mattias Andrée11-43/+839
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-23Add testsMattias Andrée12-8/+345
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-23Split out memelem.h from mem.hMattias Andrée4-261/+264
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-23Some fixes and testsMattias Andrée16-53/+996
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-19Add a bunch of function and macrosMattias Andrée60-166/+3715
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-17Add memelemscanMattias Andrée10-5/+216
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-17Add memscan and memcasescanMattias Andrée16-7/+307
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-17mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-16Add st{r,p}[n]moveMattias Andrée13-5/+391
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-16Add mempmoveMattias Andrée6-4/+109
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-16memisutf8: string can be NULL (if n is 0)Mattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-16Add strnisutf8 and memisutf8Mattias Andrée11-71/+190
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-16Add TWOS_COMPLEMENT, ONES_COMPLEMENT, and SIGN_MAGNITUDEMattias Andrée3-2/+42
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-15memalloc/arrayalloc: add L1-cache optimisationMattias Andrée4-64/+179
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-15libsimple-arg: add test for long optionsMattias Andrée2-5/+217
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-14Fix man page aliasMattias Andrée1-0/+0
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-14libsimple-arg: test that ARGHERE() == &LFLAG()[1] for the first flagMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-14Some fixes to libsimple-arg.h, test everything except long arguments, and fix some man pagesMattias Andrée8-87/+608
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-11Document libsimple-arg.h and add support optional arguments on long options and add KEEP_DASHDASH to ARGBEGIN3 (now named ARGBEGIN4)Mattias Andrée2-50/+278
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-09Document most of libsimple-arg.hMattias Andrée18-9/+566
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-07Update READMEMattias Andrée1-421/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-07Move section 3 man pages to man3/ and add libsimple.h.0Mattias Andrée530-0/+1220
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-06Add arrayalloc man pageMattias Andrée35-12/+261
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-06mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-06Add man page for memallocMattias Andrée35-13/+346
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-06Add libsimple_eprintf_preprint and libsimple_eprintf_postprintMattias Andrée9-15/+129
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-06Add tests for mem[p]setelem and add man pages for libsimple_default_failure_exitMattias Andrée5-5/+72
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-11-05Add more man pagesMattias Andrée9-0/+513
Signed-off-by: Mattias Andrée <maandree@kth.se>