summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/getenv.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* environ and __progname are not declared in a public header; declare themguenther2016-03-131-2/+1
| | | | | | in libc's hidden/stdlib.h instead of in each .c file that needs one ok deraadt@ gsoares@ mpi@
* Wrap <stdlib.h> so that calls go direct and the symbols not in theguenther2015-09-131-2/+2
| | | | | | C standard are all weak. Apply __{BEGIN,END}_HIDDEN_DECLS to gdtoa{,imp}.h, hiding the arch-specific __strtorx, __ULtox_D2A, __strtorQ, __ULtoQ_D2A symbols.
* Check for duplicate variables in the environment when setting a valuemillert2010-08-231-4/+5
| | | | via setenv() or putenv(). OK miod@
* Make putenv(), setenv() and unsetenv() standards compliant. Themillert2009-06-031-8/+8
| | | | | | standard explicitly disallows passing setenv a name with a '=' in it but historic BSD behavior is to allow this but to ignore the '=' and anything after it.
* zap remaining rcsid.espie2005-08-081-4/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* ansi + de-registerpat2005-03-301-6/+5
| | | | ok otto deraadt
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* use proper __findenv() prototype; millert@ okmickey2002-12-101-6/+5
|
* change to lite2 getenv(); getenv(NULL) now returns NULLderaadt1998-07-161-14/+21
|
* Fix RCS idstholo1996-08-191-2/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* Add prototypes for internal functionstholo1996-03-251-17/+18
| | | | Change inline to __inline
* initial import of NetBSD treederaadt1995-10-181-0/+82