[Bug 284596] Confused about header file reference in tty(4) man page.
Date: Wed, 05 Feb 2025 19:32:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284596 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> --- The man page references the header that needs to be included into C source to get the definition. All _XXX.h headers are internal and not supposed to be included directly. Typically they are introduced to split larger header and allow some definition to appear in multiple top-level headers without code duplication. That said, the change that could improve the man page is to say that the structure definition is made available by inclusion of sys/ioctl.h, instead of it being defined in the header. -- You are receiving this mail because: You are the assignee for the bug.