blob: 9a35ecc581e0b2e9207425a75399a0c42b0096b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* -----------------------------------------------------------------------------
*
* (c) The GHC Team, 2007
*
* File locking support as required by Haskell 98
*
* ---------------------------------------------------------------------------*/
#ifndef RTS_FILELOCK_H
#define RTS_FILELOCK_H
int lockFile(int fd, dev_t dev, ino_t ino, int for_writing);
int unlockFile(int fd);
#endif /* RTS_FILELOCK_H */
|