Skip to content

Instantly share code, notes, and snippets.

@hydrastro
hydrastro / c_nostd.txt
Created June 23, 2022 16:41 — forked from tcoppex/c_nostd.txt
Writing C software without the standard library [Linux Edition] - Franc[e]sco's Gopherspace
###################################################################
Writing C software without the standard library
Linux Edition
###################################################################
There are many tutorials on the web that explain how to build a
simple hello world in C without the libc on AMD64, but most of them
stop there.
I will provide a more complete explanation that will allow you to
build yourself a little framework to write more complex programs.
@hydrastro
hydrastro / shitplate.c
Created December 21, 2021 23:43 — forked from skullchap/shitplate.c
simple dull way of http template generation
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define BFSZ 1024
char* template = "test.html";
char* generated = "new_test.html";
char* listFile = "zanimals.txt";