GDB (API)
Defines | Functions
/home/stan/gdb/src/gdb/environ.c File Reference
#include "defs.h"
#include "environ.h"
#include "gdb_string.h"

Go to the source code of this file.

Defines

#define min(a, b)   ((a) < (b) ? (a) : (b))
#define max(a, b)   ((a) > (b) ? (a) : (b))

Functions

struct gdb_environmake_environ (void)
void free_environ (struct gdb_environ *e)
void init_environ (struct gdb_environ *e)
char ** environ_vector (struct gdb_environ *e)
char * get_in_environ (const struct gdb_environ *e, const char *var)
void set_in_environ (struct gdb_environ *e, const char *var, const char *value)
void unset_in_environ (struct gdb_environ *e, char *var)

Define Documentation

#define max (   a,
 
)    ((a) > (b) ? (a) : (b))

Definition at line 19 of file environ.c.

#define min (   a,
 
)    ((a) < (b) ? (a) : (b))

Definition at line 18 of file environ.c.


Function Documentation

char** environ_vector ( struct gdb_environ e)

Definition at line 93 of file environ.c.

void free_environ ( struct gdb_environ e)

Definition at line 44 of file environ.c.

char* get_in_environ ( const struct gdb_environ e,
const char *  var 
)

Definition at line 101 of file environ.c.

void init_environ ( struct gdb_environ e)

Definition at line 60 of file environ.c.

struct gdb_environ* make_environ ( void  ) [read]

Definition at line 29 of file environ.c.

void set_in_environ ( struct gdb_environ e,
const char *  var,
const char *  value 
)

Definition at line 117 of file environ.c.

void unset_in_environ ( struct gdb_environ e,
char *  var 
)

Definition at line 164 of file environ.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines