projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2001-05-18 16:54:04 by simonmar]
[ghc-hetmet.git]
/
ghc
/
lib
/
std
/
cbits
/
lockFile.h
diff --git a/ghc/lib/std/cbits/lockFile.h
b/ghc/lib/std/cbits/lockFile.h
new file mode 100644
(file)
index 0000000..
e1d26b2
--- /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);