LOCKING.DEF 1.2 KB

1234567891011121314151617181920212223242526
  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. (*# project("#set tsc='on'") *)
  11. (*# call(o_a_size=>off, o_a_copy=>off, c_conv=>on, result_optional=>on) *)
  12. (*# module(implementation=>off, init_code=>off) *)
  13. (*# name(prefix=>c) *)
  14. DEFINITION MODULE locking;
  15. CONST
  16. LK_UNLCK = 0; (* unlock the file region *)
  17. LK_LOCK = 1; (* lock the file region *)
  18. LK_NBLCK = 2; (* non-blocking lock *)
  19. LK_RLCK = 3; (* lock for writing *)
  20. LK_NBRLCK = 4; (* non-blocking lock for writing *)
  21. END locking.