Searched refs:symlink_name (Results 1 – 2 of 2) sorted by relevance
/glibc-2.36/support/ |
D | tst-xreadlink.c | 33 char *symlink_name = xasprintf ("%s/symlink", dir); in do_test() local 34 add_temp_file (symlink_name); in do_test() 44 if (symlink (contents, symlink_name) != 0) in do_test() 55 char *readlink_result = xreadlink (symlink_name); in do_test() 58 xunlink (symlink_name); in do_test() 64 xclose (xopen (symlink_name, O_WRONLY | O_CREAT, 0)); in do_test() 66 free (symlink_name); in do_test()
|
/glibc-2.36/posix/ |
D | tst-execveat.c | 84 char *tmp_dir, *symlink_name, *tmp_sh; in do_test() local 152 symlink_name = xasprintf ("%s/symlink", tmp_dir); in do_test() 153 xsymlink ("tmp_sh", symlink_name); in do_test() 154 add_temp_file (symlink_name); in do_test() 157 fd_out = xopen (symlink_name, O_CREAT | O_WRONLY, 0); in do_test() 164 fd_out = xopen (symlink_name, O_PATH, 0); in do_test() 172 free (symlink_name); in do_test()
|