mh-mkstemp man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

MH-MKSTEMP(1)							 MH-MKSTEMP(1)

NAME
       mkstemp - create a temporary file

SYNOPSIS
       /usr/local/libexec/nmh/mkstemp [-directory directory] [-prefix prefix]
	    [-suffix suffix] [-version] [-help]

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	 contains  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 function.  It specifies a suffix  to	 appear	 after
       the 6 characters; if it should begin with a special 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 output 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.6				March 16, 2014			 MH-MKSTEMP(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net