2 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
4 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
12 /* IEEE Std 1003.1-2001 says getenv need not be thread safe, so
13 * don't bother locking access to __environ */
14 char *getenv(const char *var
)
23 if (memcmp(var
, *ep
, len
) == 0 && (*ep
)[len
] == '=') {
30 libc_hidden_weak(getenv
)