Back to my main GitHub page/.
Miscellaneous examples and basic techniques for C programmers on Linux.
- asm examples of calling x86 assembly from C
- cairo drawing example in C
- dlsym how to read symbol tables of shared libraries in C
- dmx using libftdi to drive a DMX controller in C
- epoll epoll usage in C
- hexagons notes and code to draw hexagons in C
- inotify how to get file events from the kernel in C
- lemon how to use the Lemon parser generator in C
- ncurses how to use ncurses in C
- pcre how to use PCRE regular expressions in C
- pexit how to get a signal when parent process exits in C
- readfile reading whole files in C using read or mmap
- readline library usage in C
- readlines reading a file line-by-line in C
- redis examples in C
- ringbuf a byte ring-buffer in C
- scripts for file manipulation, sysadmin etc
- sdl example to read joystick in C
- serial communication in C
- sigio signal-driven I/O in C
- sized a tool to limit a directory to a certain size in C
- tconf to read a key-value configuration file in C
- template a template for a basic command-line C program
- tracker a C library to track top strings in a stream
- ts a C library to keep a rolling time series
- libuuid example to get universally unique identifiers in C
- watch_copy copy files as they're written to a directory
- worker-compute process workers sharing an mmap
- worker-queued process workers in C