• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

CI-testing/H06-Sep-2021-5342

cmake/H06-Sep-2021-338295

rinutils/include/rinutils/H06-Sep-2021-516310

t/H06-Sep-2021-502302

.gitignoreH A D26-Dec-201943 32

.tidyallrcH A D29-Sep-2020241 1411

.travis.ymlH A D23-Jan-2020985 3433

LICENSEH A D18-May-20191 KiB2319

NEWS.asciidocH A D06-Sep-20211.2 KiB4530

README.asciidocH A D27-Aug-20211.6 KiB5032

RinutilsConfig.cmake.inH A D26-Mar-2020155 84

librinutils.pc.inH A D06-Sep-2021319 1311

rinutils.specH A D06-Sep-20211.6 KiB7059

rinutils.spec.inH A D26-Dec-20191.6 KiB7059

run-tests.plH A D28-Jun-20215.3 KiB224172

README.asciidoc

1rinutils - A C11 / gnu11 utilities C library
2============================================
3Shlomi Fish <shlomif@cpan.org>
4:Date: 2018-10-07
5:Revision: $Id$
6
7[id="intro"]
8Introduction
9------------
10
11This is a set of C headers containing macros and static functions that
12are expected to work on https://en.wikipedia.org/wiki/Unix-like[Unix-like systems]
13and https://en.wikipedia.org/wiki/Microsoft_Windows[MS Windows] that have
14been extracted from https://www.shlomifish.org/[Shlomi Fish´s projects].
15
16They include:
17
18. sizeof-aware wrappers for https://en.cppreference.com/w/c/memory/malloc[malloc()/realloc()]
19
20. +COUNT()+ and +LAST()+ macros.
21
22. +DLLEXPORT+ symbols-modifiers.
23
24. +likely()+ and +unlikely()+ CPU branch-prediction hints (see https://stackoverflow.com/questions/109710[Stack Overflow question]).
25
26. +long long+ sprintf()-formats
27
28. +min()+ and +max()+
29
30. +rinutils/portable_time.h+ for cross-platform time querying.
31
32. Some string utilities as inline functions.
33
34. +typeof_wrap.h+ for https://en.cppreference.com/w/cpp/language/auto[C++-"auto"]-like macros.
35
36. +GCC_UNUSED+ for silencing warnings.
37
38. +rinutils/rin_cmocka.h+ for reducing https://cmocka.org/[cmocka’s] boilerplate.
39
40**Note:** we only support the https://gcc.gnu.org/onlinedocs/gcc/Standards.html[`-std=gnu11`]
41dialect as supported by https://en.wikipedia.org/wiki/GNU_Compiler_Collection[GCC],
42https://en.wikipedia.org/wiki/Clang[clang] and compatible compilers. Other compilers
43are not supported.
44
45[id="license"]
46License
47-------
48
49This code is licensed under the https://en.wikipedia.org/wiki/MIT_License#Variants[MIT/Expat license] .
50