projects
/
sysstatus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Better file structure and build system
[sysstatus.git]
/
include
/
tools.h
diff --git a/include/tools.h
b/include/tools.h
new file mode 100644
(file)
index 0000000..
802b9f1
--- /dev/null
+++ b/
include/tools.h
@@ -0,0
+1,9
@@
+
+#ifndef __TOOLS_H__
+#define __TOOLS_H__
+
+char powerToChar(int power);
+void statusError(char *where, char *what, char *extra);
+ssize_t fileRead(char *buf, size_t bufsize, char *file);
+
+#endif