Subject: misc/13779: Incorrect SYNOPSIS for mtio(4)
To: None <gnats-bugs@gnats.netbsd.org>
From: Lloyd Parkes <lloyd@ophidian.must-have-coffee.gen.nz>
List: netbsd-bugs
Date: 08/25/2001 15:51:37
>Number:         13779
>Category:       misc
>Synopsis:       Incorrect SYNOPSIS for mtio(4)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 24 20:47:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Lloyd Parkes
>Release:        NetBSD-current of about Aug 21, 2001
>Organization:
Must Have Coffee
>Environment:
System: NetBSD ophidian.must-have-coffee.gen.nz 1.5X NetBSD 1.5X (Ophidian) #1: Sun Aug 19 13:32:44 NZST 2001 lloyd@ophidian.must-have-coffee.gen.nz:/vol/NetBSD/build/src/sys/arch/i386/compile/Ophidian i386
Architecture: i386
Machine: i386
>Description:
The manual page mtio(4) has the following SYNOPSIS section

	#include <sys/mtio.h>

This is incomplete. It should read 

	#include <sys/ioctl.h>
	#include <sys/types.h>
	#include <sys/mtio.h>

The extra header files are required when programming and other manual
pages (such as read(2)) list all necessary header files, so why
shouldn't this one?

>How-To-Repeat:
N/A
>Fix:
As described above.
>Release-Note:
>Audit-Trail:
>Unformatted: