mkstemp(3) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
MKTEMP(3)               NetBSD Library Functions Manual              MKTEMP(3)

mktemp, mkstemp, mkstemps, mkostemp, mkostemps, mkdtemp -- make unique temporary file or directory name
Standard C Library (libc, -lc)
#include <stdlib.h> char * mktemp(char *template); int mkstemp(char *template); int mkostemp(char *template, int oflags); int mkostemps(char *template, int suffixlen, int oflags); char * mkdtemp(char *template); #include <unistd.h> int mkstemps(char *template, int suffixlen);
The mktemp() function takes the given file name template and overwrites a portion of it to create a file name. This file name is unique and suit- able for use by the application. The template may be any file name with
Powered by man-cgi (2021-06-01). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.