POSIX messaging application written in C