summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getenv.c
Commit message (Collapse)AuthorAgeFilesLines
* Make putenv() fully conforms to Open Group specs Issue 6ache2007-04-301-2/+5
| | | | | | | | | | | (also IEEE Std 1003.1-2001) The specs explicitly says that altering passed string should change the environment, i.e. putenv() directly puts its arg into environment (unlike setenv() which just copies it there). It means that putenv() can't be implemented via setenv() (like we have before) at all. Putenv() value lives (allows modifying) up to the next putenv() or setenv() call.
* Make setenv, putenv, getenv and unsetenv conforming to Open Group specsache2007-04-301-5/+5
| | | | | | | | | Issue 6 (also IEEE Std 1003.1-2001) in following areas: args, return, errors. Putenv still needs rewriting because specs explicitly says that altering passed string later should change the environment (currently we copy the string so can't provide that).
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* Remove __P() usage.obrien2002-03-211-1/+1
|
* Remove 'register' keyword.obrien2002-03-211-4/+6
|
* Doubled the performance of getenv()/__findenv() by rewriting it to notdg1995-10-171-20/+24
| | | | use strncmp()..
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+87
OpenPOWER on IntegriCloud