MH-MKSTEMP(1mh) MH-MKSTEMP(1mh) NAME mkstemp - create a temporary file SYNOPSIS /usr/lib/mh/mkstemp [-help] [-version] [-directory directory] [-prefix prefix] [-suffix suf‐ fix] DESCRIPTION mkstemp creates a temporary file using mkstemp(3), or if the -suffix switch is available and used, mkstemps(3). The file name identifies a unique, newly created file, and always con‐ tains 6 characters that appear to be random. The -directory switch specifies a directory in which to create the file. The -prefix switch specifies an initial part, before the 6 characters, of the file name. The -suffix switch is only supported on platforms that provide the mkstemps(3) library func‐ tion. It specifies a suffix to appear after the 6 characters; if it should begin with a spe‐ cial character such as a period, that must be explicit in suffix. Unlike arguments to most switches of other nmh commands, the arguments to mkstemp switches can begin with a dash. EXIT STATUS If mkstemp successfully creates the temporary file, it prints the file name on standard out‐ put and exits with status 0. On failure, it prints a diagnostic message on standard error and exits with status 1. PROFILE COMPONENTS None SEE ALSO mkstemp(3), mkstemps(3) DEFAULTS -directory current directory -prefix none -suffix none nmh-1.8 2014-03-16 MH-MKSTEMP(1mh)
Generated by phpman v4.12.26 · Markdown · JSON Author: Che Dong Under GNU General Public License
2026-11-09 19:53 @2600:1f28:365:80b0:e22:2a81:3fc7:d534
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)