]>
git.proxmox.com Git - rustc.git/blob - library/std/src/os/illumos/raw.rs
1 //! illumos-specific raw type definitions
3 #![stable(feature = "raw_ext", since = "1.1.0")]
6 note
= "these type aliases are no longer supported by the standard library, the `libc` \
7 crate on crates.io should be used instead for the correct definitions"
11 use crate::os
::raw
::c_long
;
12 use crate::os
::unix
::raw
::{gid_t, uid_t}
;
14 #[stable(feature = "raw_ext", since = "1.1.0")]
15 pub type blkcnt_t
= u64;
16 #[stable(feature = "raw_ext", since = "1.1.0")]
17 pub type blksize_t
= u64;
18 #[stable(feature = "raw_ext", since = "1.1.0")]
20 #[stable(feature = "raw_ext", since = "1.1.0")]
21 pub type fflags_t
= u32;
22 #[stable(feature = "raw_ext", since = "1.1.0")]
24 #[stable(feature = "raw_ext", since = "1.1.0")]
25 pub type mode_t
= u32;
26 #[stable(feature = "raw_ext", since = "1.1.0")]
27 pub type nlink_t
= u64;
28 #[stable(feature = "raw_ext", since = "1.1.0")]
30 #[stable(feature = "raw_ext", since = "1.1.0")]
31 pub type time_t
= i64;
33 #[stable(feature = "pthread_t", since = "1.8.0")]
34 pub type pthread_t
= u32;
38 #[stable(feature = "raw_ext", since = "1.1.0")]
40 #[stable(feature = "raw_ext", since = "1.1.0")]
42 #[stable(feature = "raw_ext", since = "1.1.0")]
44 #[stable(feature = "raw_ext", since = "1.1.0")]
46 #[stable(feature = "raw_ext", since = "1.1.0")]
47 pub st_nlink
: nlink_t
,
48 #[stable(feature = "raw_ext", since = "1.1.0")]
50 #[stable(feature = "raw_ext", since = "1.1.0")]
52 #[stable(feature = "raw_ext", since = "1.1.0")]
54 #[stable(feature = "raw_ext", since = "1.1.0")]
56 #[stable(feature = "raw_ext", since = "1.1.0")]
58 #[stable(feature = "raw_ext", since = "1.1.0")]
59 pub st_atime_nsec
: c_long
,
60 #[stable(feature = "raw_ext", since = "1.1.0")]
62 #[stable(feature = "raw_ext", since = "1.1.0")]
63 pub st_mtime_nsec
: c_long
,
64 #[stable(feature = "raw_ext", since = "1.1.0")]
66 #[stable(feature = "raw_ext", since = "1.1.0")]
67 pub st_ctime_nsec
: c_long
,
68 #[stable(feature = "raw_ext", since = "1.1.0")]
69 pub st_blksize
: blksize_t
,
70 #[stable(feature = "raw_ext", since = "1.1.0")]
71 pub st_blocks
: blkcnt_t
,
72 #[stable(feature = "raw_ext", since = "1.1.0")]
73 pub __unused
: [u8; 16],