| 123456789101112131415161718192021222324252627282930313233 |
- Listing:
- 1 (* Release 3.10 *)
- 2 (*-------------------------------------------------------------------------*
- 3 * *
- 4 * LOCKING.DEF - Modula-2 interface to LOCKING.H *
- 5 * *
- 6 * COPYRIGHT (C) 1989..1992 Clarion Software Corporation. *
- 7 * All Rights Reserved *
- 8 * *
- 9 *--------------------------------------------------------------------------*)
- 10
- 11 (*# project("#set tsc='on'") *)
- 12 (*# call(o_a_size=>off, o_a_copy=>off, c_conv=>on, result_optional=>on) *)
- 13 (*# module(implementation=>off, init_code=>off) *)
- 14 (*# name(prefix=>c) *)
- 15
- 16
- 17 DEFINITION MODULE locking;
- 18
- 19 CONST
- 20 LK_UNLCK = 0; (* unlock the file region *)
- 21 LK_LOCK = 1; (* lock the file region *)
- 22 LK_NBLCK = 2; (* non-blocking lock *)
- 23 LK_RLCK = 3; (* lock for writing *)
- 24 LK_NBRLCK = 4; (* non-blocking lock for writing *)
- 25
- 26 END locking.
- ***** ^ not supported yet
- 1 error
|