OpenBSD Handbook

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

popt-1.16p4

getopt(3)-like library with a number of enhancements

Back to search · Not supplied

Description

This is the popt command line option parsing library. While it is similar to getopt(3), it contains a number of enhancements, including: 1) popt is fully reentrant 2) popt can parse arbitrary argv[] style arrays while getopt(2) makes this quite difficult 3) popt allows users to alias command line arguments 4) popt provides convenience functions for parsing strings into argv[] style arrays

Package information

Ports path
devel/popt
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

Library

Build

Used by (24 dependency relationships)

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

Installing and updating packages · Package details as JSON