We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
std::io::Error
1 parent 8a4c62a commit c999f38Copy full SHA for c999f38
README.md
@@ -17,6 +17,19 @@ errno = "*"
17
```
18
19
20
+## Comparison with `std::io::Error`
21
+
22
+The standard library provides [`Error::last_os_error`][last_os_error] which fetches `errno` in the same way.
23
24
+This crate provides these extra features:
25
26
+- No heap allocations
27
+- Optional `#![no_std]` support
28
+- A `set_errno` function
29
30
+[last_os_error]: https://doc.rust-lang.org/std/io/struct.Error.html#method.last_os_error
31
32
33
## Examples
34
35
```rust
0 commit comments