Searched refs:getenv (Results 1 - 25 of 631) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/storage/common/
H A Dl_common.h55 #define S_DPRINTF if (getenv("_LUX_S_DEBUG") != NULL) (void) printf
58 #define P_DPRINTF if (getenv("_LUX_P_DEBUG") != NULL) (void) printf
61 #define O_DPRINTF if (getenv("_LUX_O_DEBUG") != NULL) (void) printf
64 #define I_DPRINTF if (getenv("_LUX_I_DEBUG") != NULL) (void) printf
67 #define H_DPRINTF if (getenv("_LUX_H_DEBUG") != NULL) (void) printf
70 #define L_DPRINTF if (getenv("_LUX_L_DEBUG") != NULL) (void) printf
73 #define G_DPRINTF if (getenv("_LUX_G_DEBUG") != NULL) (void) printf
76 #define B_DPRINTF if (getenv("_LUX_B_DEBUG") != NULL) (void) printf
79 #define N_DPRINTF if (getenv("_LUX_N_DEBUG") != NULL) (void) printf
82 #define W_DPRINTF if (getenv("_LUX_W_DEBU
[all...]
/illumos-gate/usr/src/stand/lib/sa/
H A Dstdlib.c33 * Trivial version of getenv() -- since standalone has no environment
38 getenv(const char *name) function
H A Dstdlib.h49 extern char *getenv(const char *);
/illumos-gate/usr/src/test/libc-tests/tests/
H A Denv-7076.c18 * may lead to a segmentation fault when doing a getenv() depending on the
38 if (getenv("FOO") == NULL) {
46 if (getenv("FOO") != NULL) {
58 if (getenv("FOO") == NULL) {
66 if (getenv("FOO") != NULL) {
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dgetenv.c25 __STDPP__directive pragma pp:hide getenv
31 __STDPP__directive pragma pp:nohide getenv
48 #if _UWIN && !defined(getenv)
89 #if defined(__EXPORT__) && defined(getenv)
94 getenv(const char* name) function
96 #if _UWIN && !defined(getenv) /* for ast54 compatibility */
104 posix_getenv = (char*(*)(const char*))GetProcAddress(dll, "getenv");
110 #undef getenv
111 return intercepts.intercept_getenv ? (*intercepts.intercept_getenv)(name) : getenv(name);
/illumos-gate/usr/src/tools/cscope-fast/
H A Dmygetenv.c43 value = getenv(variable);
/illumos-gate/usr/src/cmd/lp/model/
H A Ddrain.output.c65 extern char *getenv();
84 if ((TERM = getenv("TERM"))) {
H A Dlp.set.c37 extern char *getenv();
50 char *TERM = getenv("TERM");
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgethz.c52 if ((sptr = getenv("HZ")) == NULL) {
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_tmpdir.c72 if ((p = getenv("TMPDIR")) != NULL && p[0] == '\0') {
77 if (p == NULL && (p = getenv("TEMP")) != NULL && p[0] == '\0') {
82 if (p == NULL && (p = getenv("TMP")) != NULL && p[0] == '\0') {
88 (p = getenv("TempFolder")) != NULL && p[0] == '\0') {
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathbin.c39 if ((!(bin = getenv("PATH")) || !*bin) && !(bin = val))
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dpkgenv.c91 if ((pkgabrv = getenv("PKG")) == NULL) {
100 if ((pkgname = getenv("NAME")) == NULL) {
104 if ((pkgarch = getenv("ARCH")) == NULL) {
108 if ((pkgvers = getenv("VERSION")) == NULL) {
112 if (getenv("CATEGORY") == NULL) {
/illumos-gate/usr/src/lib/extendedFILE/common/
H A DextendedFILE.c60 if ((ptr = getenv("_STDIO_BADFD")) != NULL) {
72 if ((ptr = getenv("_STDIO_BADFD_SIGNAL")) != NULL) {
/illumos-gate/usr/src/cmd/hal/tools/sunos/
H A Dhal-system-lcd-get-brightness-sunos.c39 if ((udi = getenv("UDI")) == NULL) {
42 if ((devfs_path = getenv("HAL_PROP_SOLARIS_DEVFS_PATH")) == NULL) {
H A Dhal-system-lcd-set-brightness-sunos.c40 if ((udi = getenv("UDI")) == NULL) {
43 if ((devfs_path = getenv("HAL_PROP_SOLARIS_DEVFS_PATH")) == NULL) {
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dcmd.c139 if (getenv("_LUX_S_DEBUG") != NULL) {
186 if (getenv("_LUX_S_DEBUG") != NULL) {
197 if ((getenv("_LUX_S_DEBUG") != NULL) ||
198 (getenv("_LUX_ER_DEBUG") != NULL)) {
247 if ((getenv("_LUX_S_DEBUG") != NULL) ||
248 (getenv("_LUX_ER_DEBUG") != NULL)) {
324 if (((getenv("_LUX_S_DEBUG") != NULL) ||
325 (getenv("_LUX_ER_DEBUG") != NULL)) &&
/illumos-gate/usr/src/lib/libast/common/preroot/
H A Dsetpreroot.c45 if ((argv || (argv = opt_info.argv)) && (dir || (dir = getenv(PR_BASE)) && *dir) && !ispreroot(dir) && (*(cmd = *argv++) == '/' || (cmd = pathpath(buf, cmd, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE))))
56 if (!(s = getenv(PR_SILENT)) || !*s)
/illumos-gate/usr/src/lib/libbc/libc/gen/4.2/
H A Dtimezone.c69 char *getenv(), *index();
71 if (p = getenv("TZNAME")) {
/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_getenv.c31 * A version of getenv() that doesn't overwrite it's return value
53 * Assume getenv() works the way we expect it to on PC systems.
57 return getenv(name);
65 * A version of getenv safe to use in library functions. According to
67 * getenv. This is a problem on systems that have getenv functions
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetenv.c29 * getenv(name)
37 getenv(name) function
54 * used for environment searching: see getenv
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dsetenv.c49 if (overwrite || !getenv(name))
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dstdlib.h54 extern char * getenv(/* const char *name */);
/illumos-gate/usr/src/lib/libumem/common/
H A Dlinktest_stand.c40 void getenv(void) {} function
/illumos-gate/usr/src/common/ficl/
H A Dmain.c60 if ((cp = getenv("prompt")) == NULL)
69 ev = getenv(p + 2);
111 if (getenv("prompt") == NULL)
113 if (getenv("interpret") == NULL)
/illumos-gate/usr/src/lib/libnls/common/
H A Dnlsenv.c65 * of the receiving buffer, getenv gets the environment variable, decodes
70 extern char *getenv();
80 if (!(charaddr = getenv(envname)))
164 return(getenv(NLSPROVIDER));

Completed in 243 milliseconds

1234567891011>>