HomeSort by: relevance | last modified time | path
    Searched refs:getenv (Results 1 - 25 of 257) sorted by relevancy

1 2 3 4 5 6 7 8 91011

  /src/sys/arch/mipsco/stand/common/
common.h 35 char *getenv(const char *);
  /src/sys/arch/pmax/stand/common/
common.h 43 char *getenv(const char *);
  /src/tests/lib/libc/stdlib/
t_getenv.c 71 ATF_CHECK_STREQ(getenv("crap0"), "0");
72 ATF_CHECK(getenv("crap1") == NULL);
73 ATF_CHECK(getenv("crap2") == NULL);
80 "Test setenv(3), getenv(3)");
86 ATF_CHECK_STREQ(getenv("EVIL"), "very=bad");
87 ATF_CHECK(getenv("EVIL=very") == NULL);
95 "Test putenv(3), getenv(3), unsetenv(3)");
105 ATF_CHECK_STREQ(getenv("crap"), "true");
107 ATF_CHECK_STREQ(getenv("clap"), "true");
108 ATF_CHECK(getenv("crap") == NULL)
    [all...]
  /src/tests/libexec/ld.elf_so/helper_ifunc_dso/
h_helper_ifunc.c 53 const char *e = getenv("USE_IFUNC2");
60 const char *e = getenv("USE_IFUNC2");
  /src/usr.bin/mail/
v7.local.c 61 if (!(mbox = getenv("MAIL")))
94 if ((np = getenv("USER")) != NULL)
temp.c 62 if ((cp = getenv("TMPDIR")) == NULL || *cp == '\0')
86 if ((cp = getenv("HOME")) == NULL)
  /src/tools/compat/
setenv.c 32 /* Emulate setenv() with getenv()/malloc()/putenv(). */
40 if (!overwrite && getenv(name))
  /src/lib/libcurses/
initscr.c 62 if (My_term || (sp = getenv("TERM")) == NULL)
ctrace.c 61 tm = getenv("CURSES_TRACE_MASK");
71 tf = getenv("CURSES_TRACE_FILE");
  /src/tests/lib/csu/
h_ifunc_static.c 57 const char *e = getenv("USE_IFUNC2");
  /src/usr.bin/from/
from.c 96 if (!(file = getenv("MAIL"))) {
99 if ((file = getenv("LOGNAME")) != NULL ||
100 (file = getenv("USER")) != NULL) {
  /src/libexec/telnetd/
authenc.c 77 return(getenv(val));
  /src/sys/arch/mipsco/mipsco/
prom.c 70 cp = MIPS_PROM(getenv)("console");
  /src/lib/libterminfo/
setupterm.c 88 term = getenv("TERM");
138 if ((p = getenv("LINES")) != NULL)
140 if ((p = getenv("COLUMNS")) != NULL)
  /src/games/cribbage/
instr.c 77 if (!(path = getenv("PAGER")) || (*path == 0))
  /src/lib/libc/stdlib/
getenv.c 1 /* $NetBSD: getenv.c,v 1.37 2022/02/11 21:36:46 rillig Exp $ */
35 static char sccsid[] = "@(#)getenv.c 8.1 (Berkeley) 6/4/93";
37 __RCSID("$NetBSD: getenv.c,v 1.37 2022/02/11 21:36:46 rillig Exp $");
53 * getenv --
55 * XXX: we cannot use getenv_r to implement this, because getenv()
57 * to getenv would trash previous results.
60 getenv(const char *name)
  /src/sys/external/bsd/compiler_rt/dist/lib/profile/
InstrProfilingFile.c 47 BufferSzStr = getenv("LLVM_VP_BUFFER_SIZE");
163 const char *Filename = getenv("LLVM_PROFILE_FILE");
196 const char *Env_Filename = getenv("LLVM_PROFILE_FILE");
206 GetEnvHook = &getenv;
  /src/usr.bin/mkdep/
findcc.c 70 if ((path = getenv("PATH")) == NULL)
  /src/usr.sbin/btattach/
firmload.c 45 const int debug = getenv("FIRMWARE_DEBUG") != NULL;
  /src/usr.bin/ftp/
main.c 162 cp = getenv("FTPSERVERPORT");
210 cp = getenv("NETRC");
215 if ((tmpdir = getenv("TMPDIR")) == NULL)
219 if ((cp = getenv("FTPMODE")) != NULL) {
241 gateserver = getenv("FTPSERVER");
252 cp = getenv("TERM");
482 cp = getenv("HOME");
523 setupoption("anonpass", getenv("FTPANONPASS"), anonpass);
524 setupoption("ftp_proxy", getenv(FTP_PROXY), "");
525 setupoption("http_proxy", getenv(HTTP_PROXY), "")
    [all...]
  /src/tests/usr.bin/id/
pwgr.c 58 if (getenv("LIBFAKE_EGID_ROOT") != NULL)
73 if (getenv("LIBFAKE_EUID_ROOT") != NULL)
  /src/sys/arch/ia64/stand/common/
boot.c 156 cp = getenv("autoboot_delay");
173 if ((cp = getenv("autoboot_delay"))) {
182 kernelname = getenv("kernelname");
186 kernelname = getenv("kernelname");
249 if ((spec = getenv("bootfile")) == NULL)
295 if (getenv("vfs.root.mountfrom") != NULL)
  /src/games/hack/
hack.main.c 125 dir = getenv("HACKDIR");
157 if (!*plname && (s = getenv("USER")))
159 if (!*plname && (s = getenv("LOGNAME")))
249 if (((catmore = getenv("HACKPAGER")) == NULL &&
250 (catmore = getenv("PAGER")) == NULL) ||
284 if ((sfoo = getenv("MAGIC")) != NULL)
292 if ((sfoo = getenv("GENOCIDED")) != NULL) {
  /src/sys/arch/mac68k/mac68k/
machdep.c 227 static long getenv(const char *);
903 /* mac68k_video.mv_kvaddr = getenv("MACOS_VIDEO"); */
905 mac68k_video.mv_kvaddr = getenv("VIDEO_ADDR");
906 mac68k_video.mv_stride = getenv("ROW_BYTES");
907 mac68k_video.mv_depth = getenv("SCREEN_DEPTH");
908 mac68k_video.mv_width = getenv("DIMENSIONS") & 0xffff;
909 mac68k_video.mv_height = (getenv("DIMENSIONS") >> 16) & 0xffff;
914 mac68k_machine.machineid = machineid = getenv("MACHINEID");
915 mac68k_machine.mach_processor = getenv("PROCESSOR");
917 mac68k_machine.mach_memsize = getenv("MEMSIZE")
1035 getenv(const char *str) function in typeref:typename:long
    [all...]
  /src/usr.bin/newgrp/
newgrp.c 139 shell = getenv("SHELL");
158 term = getenv("TERM");
160 krbtkfile = getenv("KRBTKFILE");

Completed in 43 milliseconds

1 2 3 4 5 6 7 8 91011