Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2002 10:05:25 -0800 (PST)
From:      Bruce Dang <bruce@research.teamxor.org>
To:        freebsd-gnats-submit@freebsd.org
Subject:   docs/34460: potential minor error in Developer's Handbook + mem(4) man page
Message-ID:  <200201301805.g0UI5PW33657@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         34460
>Category:       docs
>Synopsis:       potential minor error in Developer's Handbook + mem(4) man page
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 30 10:10:04 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bruce Dang
>Release:        4.4-PRERELEASE i386
>Organization:
>Environment:
FreeBSD xxxx 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #1: Wed Dec 26 19:43:22 EST 2001     root@xxxxx:/usr/obj/usr/src/sys/LEET  i386

>Description:
On page 40 of the Developer's Handbook (PDF version), there's something like "will always null terminate the string." Shouldn't this be NUL terinated, instead of NULL (ptr).

In addition to that, the mem(4) man page makes references to <memrange.h> for various #defines, but it is actually <sys/memrange.h> that defines them...
>How-To-Repeat:
- look page 40 of the dev's handbook
- man 4 mem
>Fix:
- change "null" to NUL on p. 40 of the developer's handbook
- change <memrange.h> to <sys/memrange.h> in mem(4) manpage
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201301805.g0UI5PW33657>