blob: 3fc1a81aec02218748a38f7a3dec3f87b021c3fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* -----------------------------------------------------------------------------
*
* (c) The GHC Team, 2007
*
* File locking support as required by Haskell 98
*
* ---------------------------------------------------------------------------*/
void initFileLocking(void);
void freeFileLocking(void);
int lockFile(int fd, dev_t dev, ino_t ino, int for_writing);
int unlockFile(int fd);
|