std::os::errno returns uint now
rtio removed, use own routines for reading/writing