https://github.com/git/git
Raw File
Tip revision: 2f93541d88fadd1ff5307d81c2c8921ee3eea058 authored by Junio C Hamano on 02 December 2013, 23:33:30 UTC
Git 1.8.4.5
Tip revision: 2f93541
test-mktemp.c
/*
 * test-mktemp.c: code to exercise the creation of temporary files
 */
#include "git-compat-util.h"

int main(int argc, char *argv[])
{
	if (argc != 2)
		usage("Expected 1 parameter defining the temporary file template");

	xmkstemp(xstrdup(argv[1]));

	return 0;
}
back to top