about summary refs log tree commit diff
path: root/csrc/stat.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--csrc/stat.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/csrc/stat.h b/csrc/stat.h
new file mode 100644
index 0000000..3ad725d
--- /dev/null
+++ b/csrc/stat.h
@@ -0,0 +1,13 @@
+#ifndef __STATH_
+#define __STATH_
+
+#include <stdio.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+typedef enum { STAT_OK, STAT_ERR } stat_res_t;
+
+stat_res_t mstat(char *file);
+
+#endif