dope 0.5.5

The manifold runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::io;

pub(super) struct Errno;

impl Errno {
    pub(super) fn last_raw() -> i32 {
        io::Error::last_os_error().raw_os_error().unwrap_or(0)
    }

    pub(super) const fn is_block_raw(raw: i32) -> bool {
        raw == libc::EAGAIN || raw == libc::EWOULDBLOCK
    }
}