PostgreSQL Source Code
git master
|
#include "c.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
Go to the source code of this file.
Macros | |
#define | _DIAGASSERT(x) do {} while (0) |
Functions | |
static int | GETTEMP (char *path, int *doopen, int domkdir) |
char * | mkdtemp (char *path) |
|
static |
Definition at line 94 of file mkdtemp.c.
References _DIAGASSERT, lstat, mkdir, S_ISDIR, stat::st_mode, start, and stat.
Referenced by mkdtemp().
char* mkdtemp | ( | char * | path | ) |
Definition at line 286 of file mkdtemp.c.
References _DIAGASSERT, and GETTEMP().
Referenced by make_temp_sockdir().