mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
Add vacfilegetmode.
This commit is contained in:
parent
7f721693ec
commit
913a0dc0ca
1 changed files with 6 additions and 0 deletions
|
@ -992,6 +992,12 @@ vacfileisdir(VacFile *f)
|
|||
return (f->dir.mode & ModeDir) != 0;
|
||||
}
|
||||
|
||||
int
|
||||
vacfilegetmode(VacFile *f)
|
||||
{
|
||||
return f->dir.mode;
|
||||
}
|
||||
|
||||
int
|
||||
vacfileisroot(VacFile *f)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue