mirror of
https://github.com/git/git.git
synced 2024-11-14 21:23:03 +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;
|
||
|
}
|