mirror of
https://github.com/git/git.git
synced 2024-11-02 07:17:58 +01:00
9 lines
152 B
C
9 lines
152 B
C
|
#include "../git-compat-util.h"
|
||
|
|
||
|
char *gitmkdtemp(char *template)
|
||
|
{
|
||
|
if (!mktemp(template) || mkdir(template, 0700))
|
||
|
return NULL;
|
||
|
return template;
|
||
|
}
|