chickadee » chicken » file » posix » file-mkdtemp

file-mkdtemp TEMPLATE-FILENAMEprocedure

Create a directory based on the given TEMPLATE-FILENAME, in which the six last characters must be XXXXXX. These will be replaced with a string that makes the directory name unique. The generated directory name is returned. See the mkdtemp(3) manual page for details on how this function works. The template string given is not modified.

NOTE: On native Windows builds (all except cygwin), this procedure is unimplemented and will raise an error.