Skip to content

Instantly share code, notes, and snippets.

View anirban6996's full-sized avatar

Anirban Bose anirban6996

  • 04:02 (UTC +05:30)
View GitHub Profile
@Scherso
Scherso / headers.h
Last active February 18, 2026 06:30
‘Hello, World!’ C program made without the use of C's Standard Library
#define WRITE 1
#define STDOUT 1
#define EXIT 60
#define EXIT_SUCCESS 0

Writing C Software without the Standard Library
FOR UN*X


There are many tutorials on the web that explain how to build a simple "Hello, World" in C without the use of libc on AMD64, but most of them stop there.

This guide hopes to provide a more complete explanation that will allow you to build yourself a small framework to write more complex programs. The code will support both AMD64, and i386.