Lines Matching refs:stat
35 #include <sys/stat.h>
76 struct stat sa, sb;
79 (void)memset(&sa, 0, sizeof(struct stat));
80 (void)memset(&sb, 0, sizeof(struct stat));
88 ATF_REQUIRE(stat(path, &sa) == 0);
90 ATF_REQUIRE(stat(path, &sb) == 0);
183 atf_tc_set_md_var(tc, "descr", "Check stat(2) of a linked file");
188 struct stat sa, sb;
191 (void)memset(&sa, 0, sizeof(struct stat));
192 (void)memset(&sb, 0, sizeof(struct stat));
201 ATF_REQUIRE(stat(path, &sa) == 0);