swh:1:snp:47f1e8bb459169b0feb652a9c3d9cbabd8526d4a
Raw File
Tip revision: 53a06cf39b756eddfe4a2a34da93e3d04eb7b728 authored by Johannes Schindelin on 04 December 2019, 22:10:12 UTC
Git 2.24.1
Tip revision: 53a06cf
mkdtemp.c
#include "../git-compat-util.h"

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