saait

Simple static page generator
git clone https://git.sinitax.com/codemadness/saait
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit c15166225a481fc033d43eac9bec29671747adaa
parent 3d4e92f0764580313a324bd6f491c237be2279f5
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu,  8 Dec 2016 23:49:08 +0100

test

Diffstat:
Msaait.c | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/saait.c b/saait.c @@ -331,6 +331,14 @@ main(int argc, char *argv[]) char file[PATH_MAX], htmlfile[PATH_MAX], outputfile[PATH_MAX], *p; int i, j, k, r; + + char *data = readfile("pages/001-gothic-1-guide.cfg"); + struct variable *test = parsevars(data); + free(data); + freevars(test); + + return 0; + #ifdef __OpenBSD__ if (pledge("stdio cpath rpath wpath", NULL) == -1) { fprintf(stderr, "pledge: %s\n", strerror(errno));