Admin Production ni-theme
Current Publication

_putenv

LabWindows/CVI

_putenv

int _putenv (const char environmentVariable[]);

Purpose

Adds or replaces an entry in the environment list of the host environment.

Parameters

Input
Name Type Description
environmentVariable const char [] Contains the variable that is added or replaced in the list of environments of the host environment. The following is an example value:

EXAMPLES=c:\\cvi\\samples

Return Value

Name Type Description
success int 0 indicates success. -1 indicates an error.

Additional Information

Library: ANSI C Library

Include file: ansi_c.h

LabWindows/CVI compatibility: LabWindows/CVI 7.0 and later