summaryrefslogtreecommitdiff
path: root/cmd_uptime.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-05-02 22:30:10 +0100
committerFreeArtMan <dos21h@gmail.com>2017-05-02 22:30:10 +0100
commitc6f5689838de263b8129b7c612cde030617ce780 (patch)
treec533fd036ebf6441bf98694367f2f378f1d399ef /cmd_uptime.c
parent5f5d5837c9d662ce00c2fdad5b963eff6551d21c (diff)
downloadagni-c6f5689838de263b8129b7c612cde030617ce780.tar.gz
agni-c6f5689838de263b8129b7c612cde030617ce780.zip
Move commands to seperate files
Diffstat (limited to 'cmd_uptime.c')
-rw-r--r--cmd_uptime.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/cmd_uptime.c b/cmd_uptime.c
index e69de29..f745be0 100644
--- a/cmd_uptime.c
+++ b/cmd_uptime.c
@@ -0,0 +1,13 @@
+#include "cmd_uptime.h"
+
+void *cmd_uptime(void *data)
+{
+ char *param = (char *)data;
+ char *ret = NULL;
+
+ printf("UPTIME\n");
+
+ ret = alloc_new_str("UpTime is infinite\n");
+
+ return ret;
+} \ No newline at end of file