Home
last modified time | relevance | path

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

/coreutils/gl/lib/
Droot-dev-ino.c31 struct stat statbuf; in get_root_dev_ino() local
32 if (lstat ("/", &statbuf)) in get_root_dev_ino()
34 root_d_i->st_ino = statbuf.st_ino; in get_root_dev_ino()
35 root_d_i->st_dev = statbuf.st_dev; in get_root_dev_ino()
/coreutils/src/
Dstat.c634 human_access (struct stat const *statbuf) in human_access() argument
637 filemodestring (statbuf, modebuf); in human_access()
1460 struct stat statbuf; in do_stat() local
1462 pa.st = &statbuf; in do_stat()
1467 if (fstat (fd, &statbuf) != 0) in do_stat()
1477 ? stat (filename, &statbuf) in do_stat()
1478 : lstat (filename, &statbuf)) != 0) in do_stat()
1484 if (S_ISBLK (statbuf.st_mode) || S_ISCHR (statbuf.st_mode)) in do_stat()
1507 struct stat *statbuf = parg->st; in print_stat() local
1520 if (S_ISLNK (statbuf->st_mode)) in print_stat()
[all …]
Dremove.c497 struct stat statbuf; in rm_fts() local
499 if (!parent || lstat (parent, &statbuf)) in rm_fts()
510 if (failed || fts->fts_dev != statbuf.st_dev) in rm_fts()