Freestanding C routines
