Added simple WCSA
[SXSI/TextCollection.git] / swcsa / utils / fileInfo.h
diff --git a/swcsa/utils/fileInfo.h b/swcsa/utils/fileInfo.h
new file mode 100755 (executable)
index 0000000..603b4f2
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef FILE_INFO_INCLUDED
+#define FILE_INFO_INCLUDED
+
+#include <stdio.h>
+#include <stdlib.h>
+ #include <unistd.h>
+
+
+
+       /*------------------------------------------------------------------
+        Obtains the size of a file.
+       ------------------------------------------------------------------ */
+       unsigned long fileSize (char *filename);
+       
+       /* copies from infile to outfile */
+       void copyFile (char *infile, char *outfile);
+
+#endif
+