about summary refs log tree commit diff stats
path: root/helloworld.c
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2020-06-30 00:31:04 -0400
committerBen Morrison <ben@gbmor.dev>2020-06-30 02:19:24 -0400
commit5db8118b173d9ff0c4bc2d2c55e72967090ad991 (patch)
tree6dd25bce475286335bd3089c076b80d7b569c029 /helloworld.c
parent603ac04ec07b8140a147e1eafaf0e3fc6baeee68 (diff)
downloadsite-5db8118b173d9ff0c4bc2d2c55e72967090ad991.tar.gz
reducing use of php in favor of shellscript build
Diffstat (limited to 'helloworld.c')
-rw-r--r--helloworld.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/helloworld.c b/helloworld.c
deleted file mode 100644
index fcae386..0000000
--- a/helloworld.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <err.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <unistd.h>
-
-int
-main(void)
-{
-    if (-1 == pledge("stdio", NULL)) 
-        err(EXIT_FAILURE, "pledge");
-    puts("Status: 200 OK\r");
-    puts("Content-Type: text/html\r");
-    puts("\r");
-    puts("Hello, world!\n");
-    return(EXIT_SUCCESS);
-}