-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #3508 - devnexen:freebsd_15_support, r=JohnTitor
freebsd 15 support proposal.
- Loading branch information
Showing
7 changed files
with
650 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#[repr(C)] | ||
#[cfg_attr(feature = "extra_traits", derive(Debug, Eq, Hash, PartialEq))] | ||
pub struct stat { | ||
pub st_dev: ::dev_t, | ||
pub st_ino: ::ino_t, | ||
pub st_nlink: ::nlink_t, | ||
pub st_mode: ::mode_t, | ||
st_padding0: i16, | ||
pub st_uid: ::uid_t, | ||
pub st_gid: ::gid_t, | ||
st_padding1: i32, | ||
pub st_rdev: ::dev_t, | ||
pub st_atime: ::time_t, | ||
pub st_atime_nsec: ::c_long, | ||
pub st_mtime: ::time_t, | ||
pub st_mtime_nsec: ::c_long, | ||
pub st_ctime: ::time_t, | ||
pub st_ctime_nsec: ::c_long, | ||
pub st_birthtime: ::time_t, | ||
pub st_birthtime_nsec: ::c_long, | ||
pub st_size: ::off_t, | ||
pub st_blocks: ::blkcnt_t, | ||
pub st_blksize: ::blksize_t, | ||
pub st_flags: ::fflags_t, | ||
pub st_gen: u64, | ||
pub st_spare: [u64; 10], | ||
} | ||
|
||
impl ::Copy for ::stat {} | ||
impl ::Clone for ::stat { | ||
fn clone(&self) -> ::stat { | ||
*self | ||
} | ||
} |
Oops, something went wrong.