_wtmpnam()

Creates a unique temporary file name using wide characters.

  #include <stdio.h>
  
  wchar_t *_wtmpnam(wchar_t *ws);    
Parameter

ws

A pointer to a wide-character file name.

Remarks

The wtmpnam() functions creates a valid filename wide character string that will not conflict with any existing filename. It is implemented for a wide character array in the same manner as tmpnam().