mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
Add Unix fields.
This commit is contained in:
parent
215993f844
commit
6049f61c28
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,8 @@ enum
|
|||
ModeArchive = (1<<18), /* MS-DOS */
|
||||
ModeTemporary = (1<<19), /* MS-DOS */
|
||||
ModeSnapshot = (1<<20), /* read only snapshot */
|
||||
ModeDevice = (1<<21), /* Unix device */
|
||||
ModeNamedPipe = (1<<22), /* Unix named pipe */
|
||||
};
|
||||
|
||||
enum
|
||||
|
@ -120,6 +122,7 @@ uvlong vacfilegetid(VacFile *file);
|
|||
ulong vacfilegetmcount(VacFile *file);
|
||||
int vacfileisdir(VacFile *file);
|
||||
int vacfileisroot(VacFile *file);
|
||||
int vacfileisspecial(VacFile *file);
|
||||
int vacfilegetblocksize(VacFile *file, u32int bn, u8int *score);
|
||||
int vacfilegetsize(VacFile *file, uvlong *size);
|
||||
int vacfilegetdir(VacFile *file, VacDir *dir);
|
||||
|
|
Loading…
Reference in a new issue