Other libc calls now return error codes too