aboutsummaryrefslogtreecommitdiffstats
path: root/src/jo_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jo_main.c')
-rw-r--r--src/jo_main.c29
1 files changed, 27 insertions, 2 deletions
diff --git a/src/jo_main.c b/src/jo_main.c
index ee3c400..2d19ab8 100644
--- a/src/jo_main.c
+++ b/src/jo_main.c
@@ -1,8 +1,33 @@
+/****************************************************************************************/
+/* */
+/* File : jo_main.c /_________/ */
+/* Author : Joe | */
+/* Date : 04/2020 | */
+/* Info : The main | */
+/* / | */
+/* \ / */
+/* \_____/ */
+/* */
+/****************************************************************************************/
+
#include <jo_main.h>
+/*
+** Files prefixes
+** --------------
+** f: fetch
+*/
+
int
main(void)
{
- jo_printf();
- return (0);
+ char *status;
+
+ if (!(status = jo_f_status())) {
+ return (JO_RET_RD_FAILED);
+ }
+ printf("status: %s\n", status);
+ free(status);
+ status = NULL;
+ return (JO_RET_FINE);
}