aboutsummaryrefslogtreecommitdiffstats
path: root/libsimple.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add libsimple_getcwd with e- and en- versionsMattias Andrée2024-04-131-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libsimple_bindtemp_unMattias Andrée2024-01-291-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add to*, *diff, *abs, *uabs, and random_{bits,float,signed,unsigned}Mattias Andrée2024-01-291-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libsimple_generate_seed and libsimple_srandMattias Andrée2024-01-281-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libsimple_close_rangeMattias Andrée2024-01-271-0/+14
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add bindex and bindex_rMattias Andrée2023-07-041-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix warningsMattias Andrée2022-06-121-0/+10
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Replace to last static inline's with line + extern inline, and fix warningsMattias Andrée2022-06-121-7/+35
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix warnings, replace some static inline with inline + extern inline, and fix glibc supportMattias Andrée2022-06-111-44/+49
|
* Remove `static` from some `static inline`Mattias Andrée2022-06-101-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add strto[u]{hh,h,z}, strto{i,u}{,8,16,32,64}Mattias Andrée2022-06-101-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* A bunch of stuffMattias Andrée2018-11-291-1/+96
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Some fixes and add wide-character string duplication functionsMattias Andrée2018-11-251-0/+6
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Include wchar.h and wctype.hMattias Andrée2018-11-251-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add [e[n]]aligned_str[n]dup and aligned_str[n]dupaMattias Andrée2018-11-251-2/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add array.hMattias Andrée2018-11-251-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Split out memelem.h from mem.hMattias Andrée2018-11-231-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add a bunch of function and macrosMattias Andrée2018-11-191-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libsimple_eprintf_preprint and libsimple_eprintf_postprintMattias Andrée2018-11-061-8/+0
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add tests and small fixesMattias Andrée2018-11-051-1/+1
| | | | 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-051-31/+0
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Remove FREE and CLOSE, and add symlinks for upcoming man pagesMattias Andrée2018-11-021-5/+0
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* DocumentationMattias Andrée2018-11-011-1/+49
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* miscMattias Andrée2018-09-021-1407/+26
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add malloc function attribute were appropriateMattias Andrée2018-08-301-41/+41
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix clang supportMattias Andrée2018-08-291-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Remove sendfd, recvfd, recvfrom_timestamped, and recv_timestamped for nowMattias Andrée2018-08-291-30/+0
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add testsMattias Andrée2018-08-291-7/+9
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add testsMattias Andrée2018-08-291-159/+141
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Make it possible to force all memory allocation functions to fail in testsMattias Andrée2018-08-281-9/+9
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add tests for allocation functionsMattias Andrée2018-08-281-7/+7
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m + add testsMattias Andrée2018-08-261-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2018-08-261-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add testsMattias Andrée2018-08-261-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fixes and testsMattias Andrée2018-08-261-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add test for putenvfMattias Andrée2018-08-261-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Remove checks impossible situationsMattias Andrée2018-08-261-11/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Tests and fixesMattias Andrée2018-08-261-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix aliasesMattias Andrée2018-08-261-34/+126
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fixes, more test, and add minimise_number_stringMattias Andrée2018-08-261-3/+10
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Tests and minor improvementsMattias Andrée2018-08-251-15/+69
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2018-08-251-6/+8
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Some fixes and more testsMattias Andrée2018-08-251-10/+13
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add more testsMattias Andrée2018-08-251-11/+22
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add str[n]caseeq[null] and some testsMattias Andrée2018-08-191-14/+43
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add str[r]n[case]str and str[n][case]cmpnulMattias Andrée2018-08-191-2/+83
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix and run testsMattias Andrée2018-08-181-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add memrmem, strrstr, and strrcasestrMattias Andrée2018-08-121-0/+21
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add testsMattias Andrée2018-08-121-78/+78
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add DONT_DEFINE_CLOCK_MONOTONIC_RAWMattias Andrée2018-08-121-2/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>