add sc functions to newlib