1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-09-26 21:59:41 +00:00
erc-c/src/main.c

28 lines
296 B
C
Raw Normal View History

2017-11-22 05:24:51 +00:00
#include <stdio.h>
#include <stdlib.h>
#include "log.h"
static void
init()
{
log_open();
}
static void
finish()
{
log_close();
}
int
main(int argc, char **argv)
{
init();
// When we exit, we want to wrap up a few loose ends.
atexit(finish);
printf("Hello, world\n");
}