Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ prom_getenv(2spp) — UMIPS/BSD System Programmer's Package 2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

environ(7)

prom_exec(2spp)

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.

SEE ALSO

environ(7), prom_exec(2spp)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026