|
ELinks 0.19.1
|
Environment variables handling. More...
#include <ctype.h>#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "elinks.h"#include "util/env.h"#include "util/memory.h"
Functions | |
| 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. | |
Environment variables handling.
| 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.