]>
git.proxmox.com Git - rustc.git/blob - library/std/src/os/horizon/raw.rs
1 //! Horizon OS raw type definitions
3 #![stable(feature = "raw_ext", since = "1.1.0")]
6 note
= "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
;
14 use crate::os
::unix
::raw
::{gid_t, uid_t}
;
16 #[stable(feature = "pthread_t", since = "1.8.0")]
17 pub type pthread_t
= libc
::pthread_t
;
19 #[stable(feature = "raw_ext", since = "1.1.0")]
20 pub type blkcnt_t
= libc
::blkcnt_t
;
22 #[stable(feature = "raw_ext", since = "1.1.0")]
23 pub type blksize_t
= libc
::blksize_t
;
24 #[stable(feature = "raw_ext", since = "1.1.0")]
25 pub type dev_t
= libc
::dev_t
;
26 #[stable(feature = "raw_ext", since = "1.1.0")]
27 pub type ino_t
= libc
::ino_t
;
28 #[stable(feature = "raw_ext", since = "1.1.0")]
29 pub type mode_t
= libc
::mode_t
;
30 #[stable(feature = "raw_ext", since = "1.1.0")]
31 pub type nlink_t
= libc
::nlink_t
;
32 #[stable(feature = "raw_ext", since = "1.1.0")]
33 pub type off_t
= libc
::off_t
;
35 #[stable(feature = "raw_ext", since = "1.1.0")]
36 pub type time_t
= libc
::time_t
;
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")]
48 #[stable(feature = "raw_ext", since = "1.1.0")]
49 pub st_nlink
: nlink_t
,
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")]
60 #[stable(feature = "raw_ext", since = "1.1.0")]
62 #[stable(feature = "raw_ext", since = "1.1.0")]
64 #[stable(feature = "raw_ext", since = "1.1.0")]
65 pub st_blksize
: blksize_t
,
66 #[stable(feature = "raw_ext", since = "1.1.0")]
67 pub st_blocks
: blkcnt_t
,
68 #[stable(feature = "raw_ext", since = "1.1.0")]
69 pub st_spare4
: [c_long
; 2usize
],