Lines Matching refs:string
38 #include <string.h>
154 * string must be the entry name only, and we return the value of the first
155 * match. Otherwise, string must be of the form "name=value", and we return
159 findenv(const char **e, const char *string, int name_only, char **value)
173 s1 = string;
179 /* Slow comparison for rest of string. */
209 addtoenv(char *string, int overwrite)
229 if ((p = findenv(my_environ, string, 0, &value)) != NULL) {
236 *p = string;
252 my_environ[-1] = string;
314 new_environ[-1] = string;
337 putenv(char *string)
339 return (addtoenv(string, 1));