]>
git.proxmox.com Git - rustc.git/blob - library/std/src/os/openbsd/raw.rs
1 //! OpenBSD-specific raw type definitions
3 #![stable(feature = "raw_ext", since = "1.1.0")]
6 reason
= "these type aliases are no longer supported by \
7 the standard library, the `libc` crate on \
8 crates.io should be used instead for the correct \
13 use crate::os
::raw
::c_long
;
15 #[stable(feature = "raw_ext", since = "1.1.0")]
16 pub type blkcnt_t
= u64;
17 #[stable(feature = "raw_ext", since = "1.1.0")]
18 pub type blksize_t
= u64;
19 #[stable(feature = "raw_ext", since = "1.1.0")]
21 #[stable(feature = "raw_ext", since = "1.1.0")]
22 pub type fflags_t
= u32;
23 #[stable(feature = "raw_ext", since = "1.1.0")]
25 #[stable(feature = "raw_ext", since = "1.1.0")]
26 pub type mode_t
= u32;
27 #[stable(feature = "raw_ext", since = "1.1.0")]
28 pub type nlink_t
= u64;
29 #[stable(feature = "raw_ext", since = "1.1.0")]
31 #[stable(feature = "raw_ext", since = "1.1.0")]
32 pub type time_t
= i64;
34 #[stable(feature = "pthread_t", since = "1.8.0")]
35 pub type pthread_t
= usize;
39 #[stable(feature = "raw_ext", since = "1.1.0")]
41 #[stable(feature = "raw_ext", since = "1.1.0")]
43 #[stable(feature = "raw_ext", since = "1.1.0")]
45 #[stable(feature = "raw_ext", since = "1.1.0")]
47 #[stable(feature = "raw_ext", since = "1.1.0")]
49 #[stable(feature = "raw_ext", since = "1.1.0")]
51 #[stable(feature = "raw_ext", since = "1.1.0")]
53 #[stable(feature = "raw_ext", since = "1.1.0")]
55 #[stable(feature = "raw_ext", since = "1.1.0")]
57 #[stable(feature = "raw_ext", since = "1.1.0")]
58 pub st_atime_nsec
: c_long
,
59 #[stable(feature = "raw_ext", since = "1.1.0")]
61 #[stable(feature = "raw_ext", since = "1.1.0")]
62 pub st_mtime_nsec
: c_long
,
63 #[stable(feature = "raw_ext", since = "1.1.0")]
65 #[stable(feature = "raw_ext", since = "1.1.0")]
66 pub st_ctime_nsec
: c_long
,
67 #[stable(feature = "raw_ext", since = "1.1.0")]
69 #[stable(feature = "raw_ext", since = "1.1.0")]
71 #[stable(feature = "raw_ext", since = "1.1.0")]
73 #[stable(feature = "raw_ext", since = "1.1.0")]
75 #[stable(feature = "raw_ext", since = "1.1.0")]
77 #[stable(feature = "raw_ext", since = "1.1.0")]
78 pub st_birthtime
: i64,
79 #[stable(feature = "raw_ext", since = "1.1.0")]
80 pub st_birthtime_nsec
: c_long
,