Make some last minute improvements to make.com

This commit is contained in:
Justine Tunney 2022-08-07 05:59:53 -07:00
parent 6a5717a48f
commit 13c1c45075
16 changed files with 158 additions and 43 deletions

View file

@ -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