BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

ktempnam - create a name for a temporary khoros transport

LIBRARY CALL

char *ktempnam(
   const char *identifier,
   const char *ktemplate)

INPUT

OUTPUT

none

RETURN VALUE

a unique temporary filename on success, NULL otherwise

DESCRIPTION

This module is used to create temporary files. The application program calls "ktempnam" with a template filename which is used to help identify the application routine. The type of temporary created depends on the identifier. If a unique temporary shared memory key is desired then the template would look like:

"shm=XXXX"

If a file was desired then either

"XXXXXXXXX" "file=XXXX"

would work. The convention should be as follows, an identifier followed by an "=" equals indicator, and finally followed by an optional template.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kutils/src/ktransport.c

SEE ALSO

kutils(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.