#include <errno.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include "statdefs.h"
Go to the source code of this file.
Defines | |
#define | FILENAME_MAX 1024 |
#define | P_tmpdir "/usr/tmp/" |
Functions | |
char * | __stdio_gen_tempname (const char *dir, const char *pfx, int dir_search, size_t *lenptr, FILE **streamptr) |
static int | diraccess (const char *dir) |
static int | exists (const char *file) |
Variables | |
static const char | letters [] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" |
#define FILENAME_MAX 1024 |
Definition at line 42 of file tempname.c.
#define P_tmpdir "/usr/tmp/" |
Definition at line 47 of file tempname.c.
char* __stdio_gen_tempname | ( | const char * | dir, | |
const char * | pfx, | |||
int | dir_search, | |||
size_t * | lenptr, | |||
FILE ** | streamptr | |||
) |
Definition at line 100 of file tempname.c.
References d, diraccess(), and exists().
Referenced by tempnam().
Definition at line 52 of file tempname.c.
Referenced by __stdio_gen_tempname().
Definition at line 60 of file tempname.c.
Referenced by __stdio_gen_tempname().
Definition at line 82 of file tempname.c.