diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..44d764e --- /dev/null +++ b/src/main.c @@ -0,0 +1,18 @@ +#include <libdaemon/dlog.h> + +#include "main.h" + +int main_loop(void) { + + int fd = -1; + + if ((fd = modem_open(NULL)) < 0) + daemon_log + + + +} + +int main(int argc, char*argv[]) { + return main_loop() < 0 : 1 : 0; +} |