Mono Class Library: Mono.Unix.Native.Stdlib Overview | MembersMono.Unix.Native.Stdlib.tmpnam Method |
Generate a temporary file name. [Edit]
|
- s
- Buffer to store the temporary filename into [Edit]
Returns a file name on success, and null on error. [Edit]
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.
[Edit]
Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0