summaryrefslogtreecommitdiff
path: root/cmd_uptime.c
diff options
context:
space:
mode:
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