ELinks 0.18.0
Functions
env.h File Reference
This graph shows which files directly or indirectly include this file:

Functions

int env_set (const char *name, const char *value, int len)
 Set name environment variable to value or a substring of it: On success, it returns 0.
 

Function Documentation

◆ env_set()

int env_set ( const char *  name,
const char *  value,
int  length 
)

Set name environment variable to value or a substring of it: On success, it returns 0.

If value is NULL and on error, it returns -1. If length >= 0 and smaller than true value length, it will set name to specified substring of value.