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
5
int
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
}
main
int main(int argc, char **argv)
Definition
main.c:5
segfk_run
void segfk_run(int port)
Starts the minimal HTTP server.
Definition
segfk.c:9
segfk.h
src
main.c
Generated by
1.14.0