- https://tebibyte.media/~emma
-
fae/faer
- Joined on
2022-02-27
Block a user
Added
strerror(3)
as a Rust library
For consistency with C conventions error should be errno. This is not C and err is not a number.
I misunderstood. I will change the error
variable to errno
if it’ll be more understanda…
Added
strerror(3)
as a Rust library
It cannot do this. It either returns a String
derived from the RawOsError
or, in the case that the locale-specified error string is not valid UTF-8, returns a String
derived from a Utf8Error
.
Added
strerror(3)
as a Rust library
For consistency with C conventions error should be errno.
This is not C and err
is not a number.
Instead of panicking, set errno to 0. POSIX requires strerror(3p) to have useful function…