RTEMS Logo

RTEMS 4.6.1 On-Line Library


Process Environment Manager setenv - Set Environment Variables

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

3.4.18: setenv - Set Environment Variables

CALLING SEQUENCE:

int setenv(
  const char *name,
  const char *value,
  int overwrite
);

STATUS CODES:

Returns 0 if successful and -1 otherwise.

DESCRIPTION:

This service adds the variable name to the environment with value. If name is not already exist, then it is created. If name exists and overwrite is zero, then the previous value is not overwritten.

NOTES:

NONE


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2004 OAR Corporation