tempnam.c File Reference
#include "squid.h"
#include "compat/tempnam.h"
Include dependency graph for tempnam.c:

Go to the source code of this file.

Macros

#define _tmp   "/tmp/"
 
#define lengthof_tmp   5
 
#define LONG_BIT   (CHAR_BIT * 4) /* assume sizeof(long) == 4 */
 
#define L_tmpmin   (lengthof_tmp + 5) /* 5 chars for pid. */
 
#define TMP_BASE   64
 

Functions

static char * _tmpnam (void)
 
char * tempnam (const char *dir, const char *pfx)
 

Macro Definition Documentation

#define _tmp   "/tmp/"

Definition at line 34 of file tempnam.c.

Referenced by _tmpnam().

#define L_tmpmin   (lengthof_tmp + 5) /* 5 chars for pid. */

Definition at line 41 of file tempnam.c.

Referenced by _tmpnam().

#define lengthof_tmp   5

Definition at line 35 of file tempnam.c.

Referenced by _tmpnam().

#define LONG_BIT   (CHAR_BIT * 4) /* assume sizeof(long) == 4 */

Definition at line 38 of file tempnam.c.

#define TMP_BASE   64

Referenced by _tmpnam().

Function Documentation

static char* _tmpnam ( void  )
static

Definition at line 58 of file tempnam.c.

References _tmp, i, int, L_tmpmin, lengthof_tmp, NULL, p, pid, and TMP_BASE.

Referenced by tempnam().

char* tempnam ( const char *  dir,
const char *  pfx 
)

Definition at line 119 of file tempnam.c.

References _tmpnam().

Referenced by mail_warranty(), and read_reply().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors