SURFEX v8.1
General documentation of Surfex
Functions | Variables
env.c File Reference

Go to the source code of this file.

Functions

void ec_numenv_ (int *n)
 
void ec_numenv (int *n)
 
void ec_overwrite_env_ (int *do_overwrite)
 
void ec_overwrite_env (int *do_overwrite)
 
void ec_strenv_ (const int *i, char *value, const int valuelen)
 
void ec_strenv (const int *i, char *value, const int valuelen)
 
void ec_getenv_ (const char *s, char *value, int slen, const int valuelen)
 
void ec_getenv (const char *s, char *value, int slen, const int valuelen)
 
void ec_putenv_ (const char *s, int slen)
 
void ec_putenv (const char *s, int slen)
 
void ec_putenv_nooverwrite_ (const char *s, int slen)
 
void ec_putenv_nooverwrite (const char *s, int slen)
 
unsigned int ec_sleep_ (const int *nsec)
 
unsigned int ec_sleep (const int *nsec)
 
void ec_microsleep (int usecs)
 
void ec_usleep_ (const int *usecs)
 
void ec_usleep (const int *usecs)
 
void ec_gethostname_ (char a[], int alen)
 
void ec_gethostname (char a[], int alen)
 
static pid_t gettid ()
 
static int GetMe ()
 
int pthread_attr_init (pthread_attr_t *attr)
 
static void MemInfoBeforeMain ()
 

Variables

char ** environ
 
static int numenv = 0
 
static int(* ptr_pthread_attr_init )(pthread_attr_t *attr) = NULL
 

Function Documentation

◆ ec_getenv()

void ec_getenv ( const char *  s,
char *  value,
int  slen,
const int  valuelen 
)

Definition at line 123 of file env.c.

Here is the call graph for this function:

◆ ec_getenv_()

void ec_getenv_ ( const char *  s,
char *  value,
int  slen,
const int  valuelen 
)

Definition at line 97 of file env.c.

Here is the caller graph for this function:

◆ ec_gethostname()

void ec_gethostname ( char  a[],
int  alen 
)

Definition at line 270 of file env.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ec_gethostname_()

void ec_gethostname_ ( char  a[],
int  alen 
)

Definition at line 257 of file env.c.

Here is the caller graph for this function:

◆ ec_microsleep()

void ec_microsleep ( int  usecs)

Definition at line 230 of file env.c.

Here is the caller graph for this function:

◆ ec_numenv()

void ec_numenv ( int *  n)

Definition at line 38 of file env.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ec_numenv_()

void ec_numenv_ ( int *  n)

Definition at line 26 of file env.c.

Here is the caller graph for this function:

◆ ec_overwrite_env()

void ec_overwrite_env ( int *  do_overwrite)

Definition at line 60 of file env.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ec_overwrite_env_()

void ec_overwrite_env_ ( int *  do_overwrite)

Definition at line 45 of file env.c.

Here is the caller graph for this function:

◆ ec_putenv()

void ec_putenv ( const char *  s,
int  slen 
)

Definition at line 157 of file env.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ec_putenv_()

void ec_putenv_ ( const char *  s,
int  slen 
)

Definition at line 134 of file env.c.

Here is the caller graph for this function:

◆ ec_putenv_nooverwrite()

void ec_putenv_nooverwrite ( const char *  s,
int  slen 
)

Definition at line 205 of file env.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ec_putenv_nooverwrite_()

void ec_putenv_nooverwrite_ ( const char *  s,
int  slen 
)

Definition at line 166 of file env.c.

Here is the caller graph for this function:

◆ ec_sleep()

unsigned int ec_sleep ( const int *  nsec)

Definition at line 221 of file env.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ec_sleep_()

unsigned int ec_sleep_ ( const int *  nsec)

Definition at line 214 of file env.c.

Here is the caller graph for this function:

◆ ec_strenv()

void ec_strenv ( const int *  i,
char *  value,
const int  valuelen 
)

Definition at line 87 of file env.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ec_strenv_()

void ec_strenv_ ( const int *  i,
char *  value,
const int  valuelen 
)

Definition at line 67 of file env.c.

Here is the caller graph for this function:

◆ ec_usleep()

void ec_usleep ( const int *  usecs)

Definition at line 248 of file env.c.

Here is the call graph for this function:

◆ ec_usleep_()

void ec_usleep_ ( const int *  usecs)

Definition at line 241 of file env.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetMe()

static int GetMe ( )
static

Definition at line 304 of file env.c.

Here is the caller graph for this function:

◆ gettid()

static pid_t gettid ( )
static

Definition at line 299 of file env.c.

Here is the caller graph for this function:

◆ MemInfoBeforeMain()

static void MemInfoBeforeMain ( )
static

Definition at line 394 of file env.c.

Here is the call graph for this function:

◆ pthread_attr_init()

int pthread_attr_init ( pthread_attr_t *  attr)

Definition at line 317 of file env.c.

Here is the call graph for this function:

Variable Documentation

◆ environ

char** environ

◆ numenv

int numenv = 0
static

Definition at line 23 of file env.c.

◆ ptr_pthread_attr_init

int(* ptr_pthread_attr_init) (pthread_attr_t *attr) = NULL
static

Definition at line 316 of file env.c.