aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add readlink and readmagiclink functionsMattias Andrée2024-07-0114-0/+383
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix libsimple_abspathMattias Andrée2024-07-011-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2024-07-011-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Properly fix support for version of C before C11Mattias Andrée2024-06-292-1/+12
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add (libsimple_)_[v]e[n]printfMattias Andrée2024-06-297-6/+230
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix C99 supportMattias Andrée2024-06-291-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libsimple_{cmp,qsort}_*Mattias Andrée2024-05-05579-0/+12811
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m + add ascii.h and exec.hMattias Andrée2024-05-0531-5/+1464
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* libsimple_abspath: accept NULL for cwdMattias Andrée2024-04-133-5/+16
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add -lmMattias Andrée2024-04-132-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libsimple_abspath with e- and en- versionsMattias Andrée2024-04-135-1/+127
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add assume_aligned to libsimple_getcwdMattias Andrée2024-04-131-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libsimple_getcwd with e- and en- versionsMattias Andrée2024-04-136-0/+119
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Empty signed commitMattias Andrée2024-04-060-0/+0
|
* Add libsimple_bindtemp_unMattias Andrée2024-01-295-2/+110
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add to*, *diff, *abs, *uabs, and random_{bits,float,signed,unsigned}Mattias Andrée2024-01-2956-0/+1288
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libsimple_generate_seed and libsimple_srandMattias Andrée2024-01-285-0/+103
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix typoMattias Andrée2024-01-2811-11/+11
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Update library version numberMattias Andrée2024-01-271-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libsimple_close_rangeMattias Andrée2024-01-276-1/+236
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix man pagesMattias Andrée2024-01-274-20/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix return value for libsimple_{local,gm}time.c1.5Mattias Andrée2024-01-103-3/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Update VERSION_MINORMattias Andrée2023-12-171-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix libsimple_arrayset and libsimple_arraypset and add libsimple_arrayfill and libsimple_arraynullMattias Andrée2023-12-171-2/+14
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Update VERSION_MINOR1.4Mattias Andrée2023-07-041-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add bindex and bindex_rMattias Andrée2023-07-046-1/+152
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* libsimple_localtime.3: fix formattingMattias Andrée2023-07-041-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add tests and man pagesMattias Andrée2023-04-0949-53/+927
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Improve makefile and fix a bugMattias Andrée2022-07-196-14/+61
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Move some test code to newline created .c filesMattias Andrée2022-06-1266-903/+1033
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix warningsMattias Andrée2022-06-126-13/+28
| | | | 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-12408-956/+1915
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Remove `static` from some `static inline`Mattias Andrée2022-06-11102-95/+1824
| | | | 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-11296-3540/+5894
|
* Remove `static` from some `static inline`Mattias Andrée2022-06-1049-502/+969
| | | | 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-1020-1/+838
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* fix typoMattias Andrée2021-09-111-8/+8
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* 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>