root/compat/mkdtemp.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. gitmkdtemp

#include "../git-compat-util.h"

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

/* [<][>][^][v][top][bottom][index][help] */