[project @ 1998-04-10 10:54:14 by simonm]
[ghc-hetmet.git] / ghc / lib / std / cbits / createDirectory.c
similarity index 79%
rename from ghc/lib/std/cbits/createDirectory.lc
rename to ghc/lib/std/cbits/createDirectory.c
index 759e99c..6165518 100644 (file)
@@ -1,11 +1,12 @@
-%
-% (c) The GRASP/AQUA Project, Glasgow University, 1995
-%
-\subsection[createDirectory.lc]{createDirectory Runtime Support}
+/* 
+ * (c) The GRASP/AQUA Project, Glasgow University, 1994-1998
+ *
+ * $Id: createDirectory.c,v 1.1 1998/04/10 10:54:16 simonm Exp $
+ *
+ * createDirectory Runtime Support}
+ */
 
-\begin{code}
-
-#include "rtsdefs.h"
+#include "Rts.h"
 #include "stgio.h"
 
 #ifdef HAVE_SYS_TYPES_H
@@ -17,8 +18,7 @@
 #endif
 
 StgInt 
-createDirectory(path)
-StgByteArray path;
+createDirectory(StgByteArray path)
 {
     int rc;
     struct stat sb;
@@ -54,5 +54,3 @@ StgByteArray path;
     }
     return 0;
 }
-
-\end{code}