SilverScreen Solid Modeler

tmpnam

tmpnam

Previous topic Next topic  

tmpnam

Previous topic Next topic JavaScript is required for the print function  

 

SilverScreenAPI

 

char *tmpnam( char *str )

 

char *str;   // A pointer to a character string

 

 

 




Synopsis

#include "stdio.h"

 

The tmpnam function generates a name that can be used to create a temporary file.

 

 

Parameters

str is a pointer to a character string that will hold the generated name and will be identical to the name returned by the function.

 

 

Return Value

tmpnam returns a pointer to a character string that holds the generated temporary name if successful, or NULL otherwise.

 

 

Remarks

The pointer returned by tmpnam is identical to the parameter str. tmpnam returns a name unique in the current working directory.

 

 

See Also

tmpfile, fopen