Lines Matching defs:string
21 @deftypefn Supplemental int putenv (const char *@var{string})
23 Uses @code{setenv} or @code{unsetenv} to put @var{string} into
24 the environment or remove it. If @var{string} is of the form
25 @samp{name=value} the string is added; if no @samp{=} is present the
48 # include <string.h>
70 putenv (const char *string)
72 const char *const name_end = strchr (string, '=');
76 char *name = (char *) alloca (name_end - string + 1);
77 memcpy (name, string, name_end - string);
78 name[name_end - string] = '\0';
82 unsetenv (string);