/* $NetBSD: malloc.h,v 1.3 1994/10/26 00:56:03 cgd Exp $ */ #include tcut icon' href='/favicon.ico'/>
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2015-01-20Fix non _REENTRANT build.christos
2010-11-141.) Rename internal function __findvar() to __findenvvar().tron
2010-11-14Set errno to ENOENT if we reject the environment variable name intron
2010-11-14Improve and simplify implementation of *env(3) functions:tron
2010-11-10Clear all entries past the NULL while scrubing environ vector.enami
2010-11-10Indent using tab rather than four spaces.enami
2010-11-04scrub the whole array, not just the first n malloced entries.christos
2010-11-03Handle the case where a program attempted to cleanup the environment bychristos
2010-11-02- Simplify the codeenami
2010-11-01Double the array only when really necessary. Otherwise memory will beenami
2010-10-24Double the size of the allocate environment vector when we resize it.tron
2010-10-02Make sure that all extra elements of the environment vector are settron
2010-10-01make putenv POSIX compliant.christos
2010-09-29If new length is exactly equals to the current length,enami
2010-09-25be more conservative about allocing.christos
2010-09-25Remember memory used by allocated environment variables instead oftron
2010-09-23Use a bit array to keep track of malloced environment entries so we canchristos
2008-10-31make __findenv return the offset for the new entry to be inserted whenchristos
2005-09-25add getenv_r and ttyname_rchristos
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-01-18Merge the nathanw_sa branch.thorpej
2000-12-19fix nested extern declaration.christos
1999-09-20back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.lukem
1999-09-16* use _DIAGASSERT() to check pointer arguments against NULL and filelukem
1998-11-15delintchristos
1998-09-11Add a multiple-reader/single-writer lock to protect environ.kleink
1998-02-03remove obsolete register declarationsperry
1998-01-30update to lite-2perry
1997-07-13Add local.h for local prototypes.christos
1996-12-20const poisoning: __findenv()'s first arg should be const char * (lint)cgd
1995-12-28New-style RCS ids.thorpej
1995-02-28remove unneeded "#include <stddef.h>"jtc