Sha256: 15841f5e178dd032f8b8def8545c9e98b205e6b1ba70bf9c07c2c0327a8999c0
Contents?: true
Size: 526 Bytes
Versions: 4
Compression:
Stored size: 526 Bytes
Contents
//! Umask support. #[cfg(feature = "fs")] use crate::backend; #[cfg(feature = "fs")] use crate::fs::Mode; /// `umask(mask)`—Set the process file creation mask. /// /// # References /// - [POSIX] /// - [Linux] /// /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9799919799/functions/umask.html /// [Linux]: https://man7.org/linux/man-pages/man2/umask.2.html #[cfg(feature = "fs")] #[cfg_attr(docsrs, doc(cfg(feature = "fs")))] #[inline] pub fn umask(mask: Mode) -> Mode { backend::process::syscalls::umask(mask) }
Version data entries
4 entries across 4 versions & 1 rubygems