|
Description
|
Add the mkdtemp(3) function().
Possibly rewrite mktemp(1) to call it when called with the -d option.
#include <stdlib.h>
char *mkdtemp(char *template);
Also add int mkstemps(char *template, int suffixlen).
This function works like mkstemp() but allows the XXXXXX to be in the middle
of the template by specifying a suffixlen.
mkstemp() can be defined as mkstemps(template, 0),
Some configuration programs assume that mkstemps()' presence depends on the
precense of mkdtemp()
PSARC 2006/107
|