I am looking for some direction in finding a Windows function that acts similarly to
mkstemp(char*)
does in Linux, i.e., creates unique filename, opens file, and returns file descriptor. I have come across _mktemp_s, but that only incorporates a small part of what I need. Any suggestions/information in the implementation of a Windows style mkstemp() function would be greatly appreciated.