Add more documentation comments.

This commit is contained in:
Dan Gohman
2021-12-02 10:29:27 -08:00
parent 0a12522cbd
commit 4456da21fc
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -741,15 +741,20 @@ pub type FsWord = u32;
#[cfg(not(target_os = "redox"))]
pub use c::{UTIME_NOW, UTIME_OMIT};
/// `PROC_SUPER_MAGIC`—The magic number for the procfs filesystem.
#[cfg(all(
any(target_os = "android", target_os = "linux"),
not(target_env = "musl")
))]
pub const PROC_SUPER_MAGIC: FsWord = c::PROC_SUPER_MAGIC as FsWord;
/// `PROC_SUPER_MAGIC`—The magic number for the procfs filesystem.
#[cfg(all(any(target_os = "android", target_os = "linux"), target_env = "musl"))]
pub const PROC_SUPER_MAGIC: FsWord = 0x0000_9fa0;
/// `copyfile_state_t`—State for use with [`fcopyfile`].
///
/// [`fcopyfile`]: crate::fs::fcopyfile
#[cfg(any(target_os = "ios", target_os = "macos"))]
#[allow(non_camel_case_types)]
#[repr(transparent)]
+1
View File
@@ -512,4 +512,5 @@ pub type FsWord = linux_raw_sys::general::__fsword_t;
pub use linux_raw_sys::general::{UTIME_NOW, UTIME_OMIT};
/// `PROC_SUPER_MAGIC`—The magic number for the procfs filesystem.
pub const PROC_SUPER_MAGIC: FsWord = linux_raw_sys::general::PROC_SUPER_MAGIC as FsWord;