debian man page for ns_mktemp

Query: ns_mktemp

OS: debian

Section: 3aolserv

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ns_tmp(3aolserver)					    AOLserver Built-In Commands 					ns_tmp(3aolserver)

__________________________________________________________________________________________________________________________________________________

NAME
ns_mktemp, ns_tmpnam - commands
SYNOPSIS
ns_mktemp template ns_tmpnam _________________________________________________________________
DESCRIPTION
ns_mktemp returns a unique filename based on the template you specify. ns_tmpnam returns a filename that can safely be used for a tempo- rary file. The template for ns_mktemp should contain a string with six trailing Xs, which will be replaced with an alpha-numeric string of six charac- ters chosen to make the filename unique. If template does not end with six trailing Xs the empty string will be returned. ns_tmpnam calls the tmpnam() C library function, and the results will depend on your operating system. On Irix, for example, tmpnam() always generate a file name using the path-prefix defined as P_tmpdir in the header file which is "/var/tmp/".
EXAMPLES
nscp> ns_tmpnam ;# On Linux /tmp/filevuLwaE nscp> ns_mktemp /tmp/foobar.XXXXXX /tmp/foobar.p6SlaC
SEE ALSO
nsd(1), mktemp(3), tmpnam(3)
KEYWORDS
AOLserver 4.0 ns_tmp(3aolserver)
Related Man Pages
ns_mktemp(3aolserv) - debian
ns_tmpnam(3aolserv) - debian
mktemp(3) - suse
mktemp(3c) - sunos
mktemp(3) - posix
Similar Topics in the Unix Linux Community
how can make if [ $f1 -nt $f2 ] works in solaries
Disk quota exceeded (difference btw. du and df, again!)