RTEMS Logo

RTEMS 4.7.99.2 On-Line Library


Process Environment Manager getenv - Get Environment Variables

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

3.4.17: getenv - Get Environment Variables

CALLING SEQUENCE:

char *getenv(
  const char *name
);

STATUS CODES:

NULL
when no match
pointer to value
when successful

DESCRIPTION:

This service searches the set of environment variables for a string that matches the specified name. If found, it returns the associated value.

NOTES:

The environment list consists of name value pairs that are of the form name = value.


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2004 OAR Corporation