Generate a temporary file name.
- s
- Buffer to store the temporary filename into
Returns a file name on success, and null on error.
The tmpnam() function returns a pointer to a file name, in the /tmp directory, which did not reference an existing file at some indeterminate point in the past. If the argument s is not null, the file name is copied into the buffer it references.
The buffer referenced by s is expected to be at least Stdlib.L_tmpnam bytes in length.
Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0