Home
last modified time | relevance | path

Searched refs:link_filename (Results 1 – 1 of 1) sorted by relevance

/external/ltp/lib/
Dtst_fs_link_count.c46 char base_filename[PATH_MAX], link_filename[PATH_MAX]; in tst_fs_fill_hardlinks_() local
62 sprintf(link_filename, "%s/testfile%d", dir, i); in tst_fs_fill_hardlinks_()
64 if (link(base_filename, link_filename) == 0) in tst_fs_fill_hardlinks_()
85 base_filename, link_filename); in tst_fs_fill_hardlinks_()
90 link_filename, strerror(errno)); in tst_fs_fill_hardlinks_()
99 sprintf(link_filename, "%s/testfile%d", dir, j); in tst_fs_fill_hardlinks_()
100 SAFE_UNLINK(cleanup, link_filename); in tst_fs_fill_hardlinks_()