libc: add snprintf and EIO
Rename "functional simulator" -> "emulator" to be clearer