Table of Contents

NAME

SYNOPSIS

DESCRIPTION

These functions set, unset and fetch environment variables from the host For compatibility with differing environment conventions, the given arguments and may be appended and prepended, respectively, with an equal sign The function obtains the current value of the environment variable, If the variable is not in the current environment , a null pointer is returned. The function inserts or resets the environment variable in the current environment list. If the variable does not exist in the list, it is inserted with the given If the variable does exist, the argument is tested; if zero, the variable is not reset, otherwise it is reset to the given The function takes an argument of the form ‘‘name=value’’ and is equivalent to: setenv(name, value, 1); The function deletes all instances of the variable name pointed to by from the list.

RETURN VALUES

The functions and return zero if successful; otherwise the global variable is set to indicate the error and a -1 is returned.

ERRORS

The function or failed because they were unable to allocate memory for the environment.

SEE ALSO

STANDARDS

The function conforms to

HISTORY

The functions and appeared in The function appeared in


Table of Contents