Skip to content

Instantly share code, notes, and snippets.



Last active Aug 29, 2015
What would you like to do?
#include <stdlib.h>
char *getenv(const char *name);
/* Returns: pointer to value associated with name, NULL if not found */
int putenv(char *str);
/* Returns: 0 if OK, nonzero on error */
int setenv(const char *name, const char *value, int rewrite);
int unsetenv(const char *name);
/* Both return: 0 if OK, −1 on error */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment