Low level interface to C