]>
git.proxmox.com Git - rustc.git/blob - vendor/libc/src/unix/newlib/aarch64/mod.rs
1 pub type clock_t
= ::c_long
;
3 pub type wchar_t
= u32;
6 pub type c_ulong
= u64;
11 pub sa_family
: ::sa_family_t
,
12 pub sa_data
: [::c_char
; 14],
15 pub struct sockaddr_in6
{
17 pub sin6_family
: ::sa_family_t
,
18 pub sin6_port
: ::in_port_t
,
19 pub sin6_flowinfo
: u32,
20 pub sin6_addr
: ::in6_addr
,
21 pub sin6_scope_id
: u32,
24 pub struct sockaddr_in
{
26 pub sin_family
: ::sa_family_t
,
27 pub sin_port
: ::in_port_t
,
28 pub sin_addr
: ::in_addr
,
29 pub sin_zero
: [::c_char
; 8],
33 pub const AF_INET6
: ::c_int
= 23;
35 pub const FIONBIO
: ::c_ulong
= 1;
37 pub const POLLIN
: ::c_short
= 0x1;
38 pub const POLLPRI
: ::c_short
= 0x2;
39 pub const POLLOUT
: ::c_short
= 0x4;
40 pub const POLLERR
: ::c_short
= 0x8;
41 pub const POLLHUP
: ::c_short
= 0x10;
42 pub const POLLNVAL
: ::c_short
= 0x20;
44 pub const SOL_SOCKET
: ::c_int
= 65535;
46 pub const MSG_OOB
: ::c_int
= 1;
47 pub const MSG_PEEK
: ::c_int
= 2;
48 pub const MSG_DONTWAIT
: ::c_int
= 4;
49 pub const MSG_DONTROUTE
: ::c_int
= 0;
50 pub const MSG_WAITALL
: ::c_int
= 0;
51 pub const MSG_MORE
: ::c_int
= 0;
52 pub const MSG_NOSIGNAL
: ::c_int
= 0;
54 pub use crate::unix
::newlib
::generic
::{sigset_t, stat}
;