


     putenv(XOPEN.os/proRelease	4.4.4 (UniSoftputenv(XOPEN.os/procenv)



     NAME
	  XOPEN.os/procenv/putenv - change or add value	to environment
	  testset

     DESCRIPTION
	  Putenv tests the putenv() subroutine interface for
	  conformance to the XSI System	Interfaces Page:putenv()

     TESTS
     Compliance
	  1    When str	is of the form "var=value", and	var exists in
	       the environment,	then putenv(str) alters	the value of
	       the environment variable	var to equal value, in such as
	       way that	altering str will change the environment, and
	       returns zero.

	  2    When str	is of the form "var=value", and	var does not
	       exist in	the environment, then putenv(str) creates the
	       environment variable var	and sets it equal to value, in
	       such as way that	altering str will change the
	       environment, and	returns	zero.

     Untestable	Aspects
	  1    putenv()	returns	a non-zero value when it is unable to
	       obtain enough memory for	an expanded environment.

     OUTPUTS
     Tests:
	  1-2  Pass/Fail indication - failure information includes
	       detected	and expected return value;

     RELEASE
	  4.4.4	(07/19/99)






















     Page 1					    (printed 2/21/103)



