mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Make some last minute improvements to make.com
This commit is contained in:
parent
6a5717a48f
commit
13c1c45075
16 changed files with 158 additions and 43 deletions
|
@ -24,7 +24,13 @@
|
|||
#include "libc/sysv/errfuns.h"
|
||||
|
||||
/**
|
||||
* Creates temporary directory.
|
||||
* Creates temporary directory, e.g.
|
||||
*
|
||||
* char path[PATH_MAX];
|
||||
* snprintf(path, sizeof(path), "%s%s.XXXXXX",
|
||||
* kTmpPath, program_invocation_short_name);
|
||||
* printf("%s\n", mkdtemp(path));
|
||||
* rmdir(path);
|
||||
*
|
||||
* @param template must end with XXXXXX which is replaced with
|
||||
* nondeterministic base36 random data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue