|
|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T U e
Length: 849 (0x351)
Types: TextFile
Notes: UNIX file
Names: »ext_open.h«
└─⟦a6ab2eb36⟧ Bits:30004042/kconfig3.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦a6ab2eb36⟧ UNIX Filesystem
└─⟦this⟧ »kc/new/usr/include/sys/ext_open.h«
/*
* Copyright (c) 1985, 1988 by Western Digital Corporation.
* All rights reserved.
*/
#ident "@(#)ext_open.h 1.1 - 88/01/08"
#ifdef VIANET
/* inode flags */
#define ISHROPEN 0x2000 /* inode is open in a sharing mode */
#define SHR_FILE(x) ((x)->i_flag & ISHROPEN)
#define SHR_SET(x) ((x)->i_flag |= ISHROPEN)
#define SHR_CLR(x) ((x)->i_flag &= ~ISHROPEN)
/* sharing modes on opens using shr_open() */
#define COMPATIBILITY 0
#define DENY_NONE 1
#define DENY_READ 2
#define DENY_WRITE 3
#define DENY_RW 4
#define NUM_MODES 5
/* used with shr_open() to indicate create desired */
#define SHR_CREAT 8
extern struct i_shrmode {
unsigned short open_count[NUM_MODES][3];
short compat_pid;
} i_shrmode[]; /* The inode sharing mode table */
extern unsigned char f_shrmode[]; /* The file sharing mode table */
#endif /* VIANET */