2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.

 

Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

c5/setenv.h File Reference


Detailed Description

header for above [Sec. 5.2]

Definition in file setenv.h.

Go to the source code of this file.

Defines

#define setenv   my_setenv
#define unsetenv   my_unsetenv

Functions

int setenv (const char *var, const char *val, int overwrite)
int unsetenv (const char *var)


Define Documentation

#define setenv   my_setenv
 

Definition at line 4 of file setenv.h.

Referenced by asg(), and process_env_test().

#define unsetenv   my_unsetenv
 

Definition at line 5 of file setenv.h.

Referenced by process_env_test().


Function Documentation

int setenv const char *  var,
const char *  val,
int  overwrite
 

Description:
Change or add to environment (Std. UNIX; see AUP2 Sec. 5.2)
Headers:
stdlib.h
Returns:
0 on success or -1 on error (sets errno)

Definition at line 43 of file setenv.c.

int unsetenv const char *  var  ) 
 

Description:
Remove environment variable (Std. UNIX; see AUP2 Sec. 5.2)
Headers:
stdlib.h
Returns:
0 on success or -1 on error (sets errno)

Definition at line 80 of file setenv.c.


Generated on Fri Apr 23 10:57:08 2004 for AUP2 Example Source by doxygen 1.3.1