added c/c++ low level system functions