Searched refs:_environ (Results 1 - 19 of 19) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Denv_data.c55 * must also define _environ so that the two symbols refer to the same
59 * _environ and that nothing in libc should make reference to the unadorned
65 #pragma weak environ = _environ
66 const char **_environ = 0; variable
H A Dgetenv.c44 extern const char **_environ;
48 * For performance and consistency reasons we expand the _environ list using
52 * 3x the space needed to hold any _environ list.
54 * The only abnormal circumstance is if an application modifies the _environ
57 * issue. For this reason we keep a working copy of our notion of _environ in
58 * my_environ. If, when we are called upon to modify _environ, we ever detect
59 * a mismatch between _environ and my_environ we discard all our assumptions
60 * concerning the location and size of the _environ list. As an additional
61 * precaution we only ever update _environ once we have finished manipulating
71 * Although we don't allocate the original _environ lis
[all...]
H A Dnlspath_checks.c45 extern const char **_environ;
613 if (_environ == NULL) {
620 for (p = _environ; *p; p++)
H A Dgetutx.c484 extern char **_environ;
561 error = posix_spawn(&child, UTMP_UPDATE, NULL, &attr, argvec, _environ);
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dexecv.c49 extern char **_environ;
50 return (execve(file, argv, _environ));
H A Dexecl.c53 extern char **_environ;
91 err = execve(name, argvec, _environ);
/illumos-gate/usr/src/lib/common/amd64/
H A Dcrt1.s49 .set environ,_environ
50 .globl _environ
51 .type _environ,@object
52 .size _environ,8
54 _environ: label
139 movq _environ, %rcx
140 testq %rcx, %rcx /* check if _environ==0 */
143 movq %rcx,_environ /* copy to _environ */
H A Dgcrt1.s54 .set environ,_environ
55 .globl _environ
56 .type _environ,@object
57 .size _environ,8
59 _environ: label
158 movq _environ, %rcx
159 testq %rcx, %rcx /* check if _environ==0 */
162 movq %rcx,_environ /* copy to _environ */
/illumos-gate/usr/src/lib/common/i386/
H A Dgcrt1.s54 .set environ,_environ
55 .globl _environ
56 .type _environ,@object
57 .size _environ,4
59 _environ: label
181 movl _environ, %edx /* fixed bug 4302802 */
185 movl %edx,_environ /* copy to _environ */
H A Dcrt1.s47 .set environ,_environ
48 .globl _environ
49 .type _environ,@object
50 .size _environ,4
52 _environ: label
158 movl _environ, %edx /* fixed bug 4302802 */
162 movl %edx,_environ /* copy to _environ */
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dsystem.c48 extern const char **_environ;
240 (char *const *)argv, (char *const *)_environ);
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dglobals.c184 #pragma weak environ = _environ /* environ for PLT tracing - we */
185 char **_environ = NULL; /* supply the pair to satisfy any */ variable
H A Dsetup.c216 _environ = (char **)((ulong_t)auxv - sizeof (char *));
218 _environ = envp;
376 _environ = envp;
H A D_rtld.h615 extern char **_environ; /* environ reference for libc */
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dwordexp.c72 extern const char **_environ;
179 if ((envp = _environ) == NULL) {
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dspawn.c84 extern const char **_environ;
942 (char *const *)argvec, (char *const *)_environ);
H A Dthr.c1190 extern const char **_environ;
1195 if ((pev = _environ) == NULL)
/illumos-gate/usr/src/common/ficl/emu/
H A Dloader_emu.c77 extern char **_environ;
1257 for (ev = _environ; *ev != NULL; ev++) {
/illumos-gate/usr/src/cmd/sgs/lari/
H A Dlari.pl82 _environ | # Defined in crt

Completed in 219 milliseconds