diff options
author | FreeArtMan <dos21h@gmail.com> | 2017-05-02 22:30:10 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2017-05-02 22:30:10 +0100 |
commit | c6f5689838de263b8129b7c612cde030617ce780 (patch) | |
tree | c533fd036ebf6441bf98694367f2f378f1d399ef /cmd_uptime.c | |
parent | 5f5d5837c9d662ce00c2fdad5b963eff6551d21c (diff) | |
download | agni-c6f5689838de263b8129b7c612cde030617ce780.tar.gz agni-c6f5689838de263b8129b7c612cde030617ce780.zip |
Move commands to seperate files
Diffstat (limited to 'cmd_uptime.c')
-rw-r--r-- | cmd_uptime.c | 13 |
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 |