OpenAFS
OpenAFS distributed network file system
/cygdrive/c/src/openafs/openafs.git/repo/src/afs/HPUX/osi_vfs.h
00001 /*
00002  * HPUX specific vfs related defines (from irix)
00003  */
00004 #ifndef _HPUX_VFS_H_
00005 #define _HPUX_VFS_H_
00006 /*
00007  * Flock(3) call. (from sys/file.h)
00008  */
00009 #define LOCK_SH         1       /* shared lock */
00010 #define LOCK_EX         2       /* exclusive lock */
00011 #define LOCK_NB         4       /* don't block when locking */
00012 #define LOCK_UN         8       /* unlock */
00013 
00014 #define d_fileno d_ino
00015 
00016 #define splclock() spl7()
00017 
00018 #endif
 All Data Structures Files Functions Variables