descriptionSmall C utilities
ownerNiki Roo
last changeWed, 17 Jul 2024 11:26:14 +0000 (13:26 +0200)
README.md

CUtils

Small C utilities.

Synopsis

You may use it in various ways.

Simply clone the repository (branch: master) in your src/ directory: - call make with make -f src/cutils - it will use bin/ as output directory by default (variable dstdir) - use #include "cutils/cutils.h" (for instance – notice the double quotes) - use the required .a file(s): gcc bin/xxx.o bin/libcutils.a -o bin/my-prog - …or via -l: gcc bin/xxx.o -o bin/my-prog -lcutils -Lbin/

Install it on your machine: - compile and install it (see Compilation below) - use #include <cutils/cutils.h> (for instance – notice the square brackets) - use one or more of of -lcutils, -lcutils-net or -lcutils-check

Use a local version merged with your own sources: - locally generate the .a files (see Compilation below) - use #include "cutils/cutils.h" (for instance – notice the double quotes) - use the required .o file(s): gcc bin/xxx.o bin/libcutils.o -o bin/my-prog

Description

Some small utilities written in C, as a helper library.

They are separated in 3 binaries: - libcutils: most of the utilities lie there - libcutils-net: some network related reading/writing functions (requires GNU 99 C extensions) - libcutils-check: some helper functions for the test library check.h

Compilation

Just run make.

You can also use those make targets:

Author

CUtils was written by Niki Roo niki@nikiroo.be

shortlog
2024-07-17 Niki Roomakfile master
2024-07-06 Niki RooMerge branch 'master' of git.nikiroo.be:workspace/cutils
2024-07-06 Niki RooMerge branch 'c-master' of git.nikiroo.be:workspace...
2024-07-05 Niki RooMerge branch 'c-master' of git.nikiroo.be:workspace...
2024-07-05 Niki Roofix Doxyfile, remove docs
2024-07-02 Niki Roomakefile
2024-07-02 Niki RooMerge branch 'c-master' of git.nikiroo.be:workspace...
2024-07-02 Niki RooREADME
2024-07-02 Niki Rooinit c-master
2024-07-01 Niki Roorelative submodules
2024-07-01 Niki Roorename submodule
2024-06-30 Niki Roomakefile
2024-06-30 Niki Roomakefile
2024-06-30 Niki Roomakefile
2024-06-30 Niki Roomakefile
2024-06-28 Niki Roomakfile
...
heads
4 months ago master
4 months ago subtree