diff options
author | Ben Morrison <ben@gbmor.dev> | 2020-06-30 00:31:04 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2020-06-30 02:19:24 -0400 |
commit | 5db8118b173d9ff0c4bc2d2c55e72967090ad991 (patch) | |
tree | 6dd25bce475286335bd3089c076b80d7b569c029 /helloworld.c | |
parent | 603ac04ec07b8140a147e1eafaf0e3fc6baeee68 (diff) | |
download | site-5db8118b173d9ff0c4bc2d2c55e72967090ad991.tar.gz |
reducing use of php in favor of shellscript build
Diffstat (limited to 'helloworld.c')
-rw-r--r-- | helloworld.c | 16 |
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); -} |