Crate c_types [−] [src]
A crate that re-exports various types defined in both libc
and winapi
.
Stop having to write code like this:
#[cfg(unix)] use libc::some_type; #[cfg(windows)] use winapi::some_type;
Instead, write code like this:
use c_types::some_type;
Structs
iovec |
Constants
AF_INET | |
AF_INET6 | |
AF_UNSPEC |
Type Definitions
fd_set | |
hostent | |
in6_addr | |
in_addr | |
sa_family_t | |
sockaddr | |
sockaddr_in | |
sockaddr_in6 | |
socklen_t |