This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/Borland/BCC55/Include/Sys/locking.h

27 lines
593 B
C
Raw Normal View History

/* locking.h
Definitions for mode parameter of locking() function.
*/
/*
* C/C++ Run Time Library - Version 10.0
*
* Copyright (c) 1990, 2000 by Inprise Corporation
* All Rights Reserved.
*
*/
/* $Revision: 9.0 $ */
#if !defined(__LOCKING_H)
#define __LOCKING_H
#define LK_UNLCK 0 /* unlock file region */
#define LK_LOCK 1 /* lock file region, try for 10 seconds */
#define LK_NBLCK 2 /* lock file region, don't block */
#define LK_RLCK 3 /* same as LK_LOCK */
#define LK_NBRLCK 4 /* same as LK_NBLCK */
#endif /* __LOCKING_H */