Welcome to mirror list, hosted at ThFree Co, Russian Federation.

mkdtemp.c « compat - git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 34d4b49818b0896b9db19b2b1387f142cbbbd42b (plain)
1
2
3
4
5
6
7
8
#include "../git-compat-util.h"

char *gitmkdtemp(char *template)
{
	if (!mktemp(template) || mkdir(template, 0700))
		return NULL;
	return template;
}