mktemp_mktemp man page on Tru64

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

mktemp (ULTRIX)						       mktemp (ULTRIX)

NAME
       mktemp, mkstemp - Constructs a unique filename

LIBRARY
       Standard C Library (libc.a)

       System V Compatibility Library (libsys5.a)

       Berkeley Compatibility Library (libbsd.a)

ABSTRACT
       #include <stdlib.h>

       char *mktemp ( char *template );

       char *mkstemp ( char *template );

BSD COMPATIBILITY
       The  Digital  UNIX system provides the libbsd.a library to allow you to
       use library functions that are compatible with ULTRIX BSD library func‐
       tions. To use the BSD functions, your program needs to be compiled with
       -D_BSD and the -lbsd options.

       The BSD mktemp() function replaces the contents of the  template	 vari‐
       able  with  a unique filename.  The function expects the template vari‐
       able to look like a filename with  six  trailing	 X's,  which  will  be
       replaced with the current process ID and a pseudo-random letter. Unlike
       the standard Digital UNIX mktemp(), the	BSD  function  is  not	thread
       safe.

SYSTEM V COMPATIBILITY
       Digital UNIX provides the libsys5.a library to allow you to use library
       functions that are compatible with System V  library  functions.	  This
       library	contains  functions for those libc functions whose behavior is
       incompatible with POSIX or X/Open standards.  The  ULTRIX  system  also
       provides	 a  System  V compatibility library, libcV.a, which supplies a
       number of features similar to those that libsys5.a provides.  The  most
       significant  behavior  of the functions in this library is the compati‐
       bility with System V nonblocked signals.	 For  more  information	 about
       the  System  V  (SVID-2)	 features in Digital UNIX, please refer to the
       System V Compatibility User's Guide.

       Under libsys.5, the filename is created with the getpid() function.

       Unlike the standard Digital UNIX mktemp() function, the System V	 func‐
       tion is not thread safe.

       The mkstemp() function is not available in the libsys5.a library.

RELATED INFORMATION
       Digital UNIX Functions:

	   mktemp, mkstemp, tmpfile(3), tmpnam(3), getpid(2) delim off

							       mktemp (ULTRIX)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Tru64

List of man pages available for Tru64

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