Searched refs:fa_path (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/test/os-tests/tests/portfs/ |
H A D | file_assoc.c | 48 static char *fa_path; variable 112 warn("failed to stat %s", fa_path); in fa_run_test() 129 fo.fo_name = fa_path; in fa_run_test() 148 warn("failed to stat %s", fa_path); in fa_run_test() 155 warn("failed to write data to %s", fa_path); in fa_run_test() 234 if (asprintf(&fa_path, "/tmp/file_assoc_test.%d", getpid()) < 0) { in main() 238 fd = open(fa_path, O_RDWR | O_CREAT, 0644); in main() 240 err(EXIT_FAILURE, "failed to create %s", fa_path); in main() 257 (void) unlink(fa_path); in main()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | spawn.c | 68 char *fa_path; /* copied pathname for open() */ member 204 fd = __open(fap->fa_path, fap->fa_oflag, fap->fa_mode); in perform_file_actions() 533 lfree(fap->fa_path, fap->fa_pathsize); in posix_spawn_file_actions_destroy() 580 if ((fap->fa_path = lmalloc(fap->fa_pathsize)) == NULL) { in posix_spawn_file_actions_addopen() 584 (void) strcpy(fap->fa_path, path); in posix_spawn_file_actions_addopen()
|