plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 6049f61c2898b7bc1e2057596d5aee9135a7d822
parent 215993f8445c0313153566ffb36382573803e48b
Author: rsc <devnull@localhost>
Date:   Tue, 13 Sep 2005 01:56:40 +0000

Add Unix fields.

Diffstat:
Msrc/cmd/vac/vac.h | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/cmd/vac/vac.h b/src/cmd/vac/vac.h @@ -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);