Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / afs / HPUX / osi_vfs.h
1 /*
2 * HPUX specific vfs related defines (from irix)
3 */
4 #ifndef _HPUX_VFS_H_
5 #define _HPUX_VFS_H_
6 /*
7 * Flock(3) call. (from sys/file.h)
8 */
9 #define LOCK_SH 1 /* shared lock */
10 #define LOCK_EX 2 /* exclusive lock */
11 #define LOCK_NB 4 /* don't block when locking */
12 #define LOCK_UN 8 /* unlock */
13
14 #define d_fileno d_ino
15
16 #define splclock() spl7()
17
18 #endif