add some TODOs
This commit is contained in:
@ -4,7 +4,10 @@
|
||||
#include <unistd.h>
|
||||
|
||||
int main() {
|
||||
/* Setup daemon */
|
||||
/*
|
||||
Setup daemon
|
||||
Used this for basic idea => https://en.wikipedia.org/wiki/Daemon_(computing)
|
||||
*/
|
||||
pid_t pid;
|
||||
pid_t sid;
|
||||
|
||||
@ -30,6 +33,9 @@ int main() {
|
||||
close(STDOUT_FILENO);
|
||||
close(STDERR_FILENO);
|
||||
|
||||
/* TODO: Setup HTTP server */
|
||||
/* TODO: API needed */
|
||||
|
||||
/* Actual program */
|
||||
char should_close = 0;
|
||||
while(!should_close) {
|
||||
|
Reference in New Issue
Block a user