This example demonstrates POSIX Timer usage with CLOCK_REALTIME clock and SIGEV_THREAD notification method.
#include <stdio.h> /* for puts() */
#include <string.h> /* for memset() */
#include <unistd.h> /* for sleep() */
#include <stdlib.h> /* for EXIT_SUCCESS */
#inc...