/* lock.h - file lock function header
 */

#ifndef _MT_LOCK_H
#define _MT_LOCK_H

#ifndef LOCK_SH
#define LOCK_SH       1    /* shared lock */
#define LOCK_EX       2    /* exclusive lock */
#define LOCK_UN       8    /* unlock */
#define LOCK_NB       4    /* don't block when locking */
#endif	/* LOCK_SH */


int my_flock (char *, int, int);	/* file, fd, operation */

#endif	/* _MT_LOCK_H */

/* EOF */
