add some TODOs

This commit is contained in:
2025-06-30 22:30:06 +02:00
parent 9d6fa83a43
commit e0274fb6d5

View File

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