A simple example of a library in C illustrating syscalls