PROM_GETENV(2spp)
NAME
getenv − get value for prom monitor environment variable
SYNOPSIS
#include <prom/entrypt.h>
char *prom_getenv(name)
char *name;
DESCRIPTION
Prom_getenv searches the prom monitors environment list (see environ(7)) for a string of the form name=value and returns a pointer to the string value if such a string is present, otherwise getenv returns the value 0 (NULL).
Prom_getenv differs from the getenv(3spp) call by reading the prom monitors environment, rather than the current environment of the running standalone program. Since the current environment is inherited from the prom environment, they are often identical.