Searched refs:penv (Results 1 - 7 of 7) sorted by relevance
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/ |
H A D | tmpfile_003_pos.c | 32 const char *penv[] = {"TESTDIR", "TESTFILE0"}; local 40 for (i = 0; i < ARRAY_SIZE(penv); i++) 41 if ((penv[i] = getenv(penv[i])) == NULL) 42 errx(1, "getenv(penv[%d])", i); 44 fd = open(penv[0], O_RDWR|O_TMPFILE|O_EXCL, 0666); 46 err(2, "open(%s)", penv[0]); 49 snprintf(dpath, 1024, "%s/%s", penv[0], penv[1]);
|
H A D | tmpfile_stat_mode.c | 54 const char *penv[] = {"TESTDIR", "TESTFILE0"}; local 61 for (i = 0; i < ARRAY_SIZE(penv); i++) 62 if ((penv[i] = getenv(penv[i])) == NULL) 63 errx(1, "getenv(penv[%d])", i); 66 fd = open(penv[0], O_RDWR|O_TMPFILE, 0777); 68 err(2, "open(%s)", penv[0]); 71 err(3, "fstat(%s)", penv[0]); 74 snprintf(dpath, sizeof (dpath), "%s/%s", penv[0], penv[ [all...] |
H A D | tmpfile_002_pos.c | 48 const char *penv[] = {"TESTDIR", "TESTFILE0"}; local 55 for (i = 0; i < ARRAY_SIZE(penv); i++) 56 if ((penv[i] = getenv(penv[i])) == NULL) 57 errx(1, "getenv(penv[%d])", i); 59 fd = open(penv[0], O_RDWR|O_TMPFILE, 0666); 61 err(2, "open(%s)", penv[0]); 64 snprintf(dpath, 1024, "%s/%s", penv[0], penv[1]);
|
/freebsd-current/usr.bin/procstat/ |
H A D | Makefile | 26 MLINKS+= procstat.1 penv.1 32 LINKS+= ${BINDIR}/procstat ${BINDIR}/penv
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | ctime.c | 309 const char *penv[] = {"TESTDIR", "TESTFILE0"}; local 316 for (i = 0; i < sizeof (penv) / sizeof (char *); i++) { 317 if ((penv[i] = getenv(penv[i])) == NULL) { 318 (void) fprintf(stderr, "getenv(penv[%d])\n", i); 322 (void) snprintf(tfile, sizeof (tfile), "%s/%s", penv[0], penv[1]);
|
/freebsd-current/sys/kern/ |
H A D | kern_sysctl.c | 225 char *penv = NULL; local 342 penv = kern_getenv(path + rem); 343 if (penv == NULL) 345 req.newlen = strlen(penv); 346 req.newptr = penv; 355 if (penv != NULL) 356 freeenv(penv);
|
/freebsd-current/libexec/rtld-elf/ |
H A D | rtld.c | 2670 load_preload_objects(const char *penv, bool isfd) argument 2679 if (penv == NULL) 2682 p = psave = xstrdup(penv);
|
Completed in 174 milliseconds