A variety of functions for C