[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
@@ -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);