diff options
Diffstat (limited to 'ghc/lib/std/cbits/lockFile.h')
-rw-r--r-- | ghc/lib/std/cbits/lockFile.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ghc/lib/std/cbits/lockFile.h b/ghc/lib/std/cbits/lockFile.h new file mode 100644 index 0000000000..e1d26b2ea8 --- /dev/null +++ b/ghc/lib/std/cbits/lockFile.h @@ -0,0 +1,10 @@ +/* + * (c) The University of Glasgow 2001 + * + * $Id: lockFile.h,v 1.1 2001/05/18 16:54:06 simonmar Exp $ + * + * lockFile header + */ + +int lockFile(int fd, int for_writing, int exclusive); +int unlockFile(int fd); |