diff options
Diffstat (limited to 'pkg/test.c')
-rw-r--r-- | pkg/test.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkg/test.c b/pkg/test.c new file mode 100644 index 0000000..059ef0c --- /dev/null +++ b/pkg/test.c @@ -0,0 +1,20 @@ +/* ========================================================================== + Licensed under BSD 2clause license See LICENSE file for more information + Author: Michał Łyszczek <michal.lyszczek@bofc.pl> + ========================================================================== */ + +/* this is very minimum program, just to check if embedlog is installed + * on the system or not + */ + +#include <embedlog.h> +#include <stdio.h> + +int main(void) +{ + el_init(); + el_option(EL_OUT, EL_OUT_STDERR); + el_print(ELN, "embedlog works!"); + el_cleanup(); + return 0; +} |