Date: Mon, 11 May 1998 00:40:27 +0900 From: horikawa@jp.freebsd.org To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: docs/6573: While core(5) says NBPG gives page size, NBPG does not exist. Message-ID: <19980511004027F.k-horik@yk.rim.or.jp>
index | next in thread | raw e-mail
>Number: 6573
>Category: docs
>Synopsis: While core(5) says NBPG gives page size, NBPG does not exist.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Sun May 10 08:40:01 PDT 1998
>Last-Modified:
>Originator: Kazuo Horikawa
>Organization:
personal user
>Release: FreeBSD 2.2.5-RELEASE i386
>Environment:
Both -stable
.\" $Id: core.5,v 1.2.2.1 1996/12/31 22:50:39 mpp Exp $
and -current
.\" $Id: core.5,v 1.5 1997/02/22 13:25:57 peter Exp $
>Description:
The command `man 5 core' shows:
The size of a ``page'' is given
by the constant NBPG (also from <sys/param.h>).
But I cannot find `NBPG' definition via `find /usr/include |
xargs grep NBPG'.
I saw <machine/param.h> which is included by <sys/param.h>,
and I found pagesize definition is `PAGE_SIZE'. So, I think
that `NBPG' should be replaced with `PAGE_SIZE' on FreeBSD.
>How-To-Repeat:
% man 5 core
>Fix:
Apply following patch to src/share/man/man5/core.5
(rev.1.2.2.1 and rev.1.5).
--- core.5.orig Mon May 11 00:04:35 1998
+++ core.5 Mon May 11 00:14:52 1998
@@ -95,7 +95,7 @@
.Ar u .
area.
The size of a ``page'' is given by the constant
-.Dv NBPG
+.Dv PAGE_SIZE
(also from
.Aq Pa sys/param.h ) .
.Sh SEE ALSO
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980511004027F.k-horik>
