pub mod cmath;
pub mod condvar;
pub mod env;
-pub mod ext;
pub mod fd;
pub mod fs;
pub mod futex;
libc::ETIMEDOUT => ErrorKind::TimedOut,
libc::EEXIST => ErrorKind::AlreadyExists,
libc::ENOSYS => ErrorKind::Unsupported,
+ libc::ENOMEM => ErrorKind::OutOfMemory,
// These two constants can have the same value on some systems,
// but different values on others, so we can't use a match
// clause
x if x == libc::EAGAIN || x == libc::EWOULDBLOCK => ErrorKind::WouldBlock,
- _ => ErrorKind::Other,
+ _ => ErrorKind::Uncategorized,
}
}