home *** CD-ROM | disk | FTP | other *** search
- /*
- * locking.h -- non-ANSI
- *
- * Constants needed by the file-locking function to determine
- * locking, unlocking, and locking with retries.
- *
- * Copyright (c) 1990, MetaWare Incorporated
- */
-
- #ifndef _LOCKING_H
- #define _LOCKING_H
-
- #define _LK_UNLCK 0
- #define _LK_LOCK 1
- #define _LK_NBLCK 2
- #define _LK_RLCK 3
- #define _LK_NBRLCK 4
-
- #ifdef __HIGHC__
-
- #define LK_UNLCK _LK_UNLCK
- #define LK_LOCK _LK_LOCK
- #define LK_NBLCK _LK_NBLCK
- #define LK_RLCK _LK_RLCK
- #define LK_NBRLCK _LK_NBRLCK
-
- #endif
-
- #endif /* _LOCKING_H */
-