Skip to content
systemcoding.dev

Library

Everything you need to level up your coding skills.

Flat illustration of network packets crossing between two hosts, with the C, Rust and Linux logos.
Networking

Resolve Hostnames in C with getaddrinfo

Resolve hostnames in C with getaddrinfo, walk the result list, connect to the first address that works, and free it with freeaddrinfo on Linux.

6 min read
Flat illustration of an assembly listing with addresses and mnemonics, with the C, GNU and Arm logos.
Toolchains

Design a Stable C ABI for a Shared Library

Keep a shared library's C interface stable across releases with opaque handles, size-tagged structs, explicit error codes and a versioned symbol set.

7 min read

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.