common Directory Reference

## Files

file | mythread.h
| Some threading related helper macros and functions.
file | sysdefs.h
| Common includes, definitions, system-specific things etc.
file | tuklib_common.h
| Common definitions for tuklib modules.
file | tuklib_cpucores.c
| Get the number of CPU cores online.
file | tuklib_cpucores.h
| Get the number of CPU cores online.
file | tuklib_exit.c
| Close stdout and stderr, and exit.
file | tuklib_exit.h
| Close stdout and stderr, and exit.
file | tuklib_gettext.h
| Wrapper for gettext and friends.
file | tuklib_integer.h
| Various integer and bit operations.
file | tuklib_mbstr.h
| Utility functions for handling multibyte strings.
file | tuklib_mbstr_fw.c
| Get the field width for printf() e.g. to align table columns.
file | tuklib_mbstr_width.c
| Calculate width of a multibyte string.
file | tuklib_open_stdxxx.c
| Make sure that file descriptors 0, 1, and 2 are open.
file | tuklib_open_stdxxx.h
| Make sure that file descriptors 0, 1, and 2 are open.
file | tuklib_physmem.c
| Get the amount of physical memory.
file | tuklib_physmem.h
| Get the amount of physical memory.
file | tuklib_progname.c
| Program name to be displayed in messages.
file | tuklib_progname.h
| Program name to be displayed in messages.