OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

tllist-1.1.0

Typed Linked List C header file only

Back to search · Not supplied

Description

tllis is a **T**yped **L**inked **L**ist C header file only library implemented using pre-processor macros. ## Description Most C implementations of linked list are untyped. That is, their data carriers are typically `void *`. This is error prone since your compiler will not be able to help you correct your mistakes (_oh, was it a pointer-to-a-pointer... I thought it was just a pointer..._). **tllist** addresses this by using pre-processor macros to implement dynamic types, where the data carrier is typed to whatever you want; both **primitive** data types are supported as well as aggregated ones such as **structs**, **enums** and **unions**. Being a double-linked list, most operations are constant in time (including pushing and popping both to/from front and back).

Package information

Ports path
devel/tllist
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
devel
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Build

Used by (3 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON