strerror from cstring
strlen from cstring