dhcpd-pools  2.28
ISC dhcpd lease usage analyser
Macros | Functions | Variables
setenv.c File Reference
#include <config.h>
#include <alloca.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include "malloca.h"
Include dependency graph for setenv.c:

Macros

#define _GL_ARG_NONNULL(params)
 
#define _GL_USE_STDLIB_ALLOC   1
 
#define __set_errno(ev)   ((errno) = (ev))
 
#define __environ   environ
 
#define LOCK
 
#define UNLOCK
 
#define KNOWN_VALUE(Str)   NULL
 
#define STORE_VALUE(Str)   do { } while (0)
 

Functions

int __add_to_environ (const char *name, const char *value, const char *combined, int replace)
 
int setenv (const char *name, const char *value, int replace)
 
int clearenv (void)
 

Variables

static char ** last_environ
 

Macro Definition Documentation

#define __environ   environ

Referenced by __add_to_environ(), and clearenv().

#define __set_errno (   ev)    ((errno) = (ev))

Referenced by __add_to_environ(), and setenv().

#define _GL_ARG_NONNULL (   params)
#define _GL_USE_STDLIB_ALLOC   1
#define KNOWN_VALUE (   Str)    NULL

Referenced by __add_to_environ().

#define LOCK

Referenced by __add_to_environ(), and clearenv().

#define STORE_VALUE (   Str)    do { } while (0)

Referenced by __add_to_environ().

#define UNLOCK

Referenced by __add_to_environ(), and clearenv().

Function Documentation

int __add_to_environ ( const char *  name,
const char *  value,
const char *  combined,
int  replace 
)

Referenced by setenv().

Here is the call graph for this function:

int clearenv ( void  )
int setenv ( const char *  name,
const char *  value,
int  replace 
)

Referenced by setenv_TZ().

Here is the call graph for this function:

Variable Documentation

char** last_environ
static