3 #ifndef _MYFLOCK_H_INCLUDED_
4 #define _MYFLOCK_H_INCLUDED_
12 /* #include <myflock.h>
19 extern int myflock(int, int, int);
24 #define MYFLOCK_STYLE_FLOCK 1
25 #define MYFLOCK_STYLE_FCNTL 2
30 #define MYFLOCK_OP_NONE 0
31 #define MYFLOCK_OP_SHARED 1
32 #define MYFLOCK_OP_EXCLUSIVE 2
33 #define MYFLOCK_OP_NOWAIT 4
35 #define MYFLOCK_OP_BITS \
36 (MYFLOCK_OP_SHARED | MYFLOCK_OP_EXCLUSIVE | MYFLOCK_OP_NOWAIT)
41 /* The Secure Mailer license must be distributed with this software.
44 /* IBM T.J. Watson Research
46 /* Yorktown Heights, NY 10598, USA