Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: PATCH: use sysconf(_SC_PAGESIZE) in bin/ps
To:
enh <enh@google.com>
Cc:
Eric <eobsdbox@gmail.com>, tech@openbsd.org
Date:
Tue, 03 Feb 2026 23:05:09 -0700

Download raw body.

Thread
enh <enh@google.com> wrote:

> (i was genuinely surprised to see that that advice is on the openbsd
> man page ... i assumed the OP had read the man7.org man pages which
> are often overly prescriptive about stuff like this, but oddly they
> _don't_ mention sysconf().)

my apologies. I was young, foolish, trusting.

I doubt anyone else has text like this.

revision 1.3
date: 1998/06/02 05:28:59;  author: deraadt;  state: Exp;  lines: +9 -1;
tell people to use sysconf(3) now; kleink

+.Bf -symbolic
+This interface is obsoleted by
+.Xr sysconf 3 .
+Use
+.Fn sysconf _SC_PAGESIZE .
+.Ef 
+.Pp 


Should probably be removed, and let people do what they want.