[−][src]Function coreutils_core::mktemp::mkstemp
pub fn mkstemp(template: &str) -> Result<Mktemp>
Creates a temporary file based on the given template
.
The template
should end with a number of X
characters.
Some libc implementations requires the template
to end with a minimum number of X
characters (for example, 6 in glibc as of version 2.29).
Errors
If a internal call set a errno (I/O OS error), an error variant will be returned.