Common required functionality for C programs