NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/58623: KASSERT(9) man page is vague about what header file it needs
>Number: 58623
>Category: kern
>Synopsis: KASSERT(9) man page is vague about what header file it needs
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 20 23:40:01 +0000 2024
>Originator: Taylor R Campbell
>Release: current, 10, 9, ...
>Organization:
The KNETBSD(9) Foundation
>Environment:
>Description:
The KASSERT(9) man page doesn't say what header file you're supposed to include to get at it.
>How-To-Repeat:
rtfm
>Fix:
Yes, please!
Obvious candidates:
#include <lib/libkern/libkern.h>
#include <sys/systm.h>
I don't like either of these, really -- hodgepodge piles of miscellany like this shouldn't exist; header files should have clear definite purposes with limited scope. But one of those is probably the right thing to document for now.
Home |
Main Index |
Thread Index |
Old Index