segf-k 1.0
Loading...
Searching...
No Matches
main.c
Go to the documentation of this file.
1#include <stdio.h>
2#include <stdlib.h>
3#include "segfk.h"
4
5int main(int argc, char **argv)
6{
7 int port = 8080;
8 if (argc > 1) {
9 port = atoi(argv[1]);
10 }
11 segfk_run(port);
12 return 0;
13}
int main(int argc, char **argv)
Definition main.c:5
void segfk_run(int port)
Starts the minimal HTTP server.
Definition segfk.c:9