From root@newsguy.com  Thu Jan  7 10:26:08 1999
Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA17825
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 7 Jan 1999 10:26:07 -0800 (PST)
          (envelope-from root@newsguy.com)
Received: from local.ocn.ne.jp by peach.ocn.ne.jp (8.9.1a/OCN) id DAA11184; Fri, 8 Jan 1999 03:25:35 +0900 (JST)
Received: (from root@localhost)
	by local.ocn.ne.jp (8.9.1/8.8.6) id DAA02667;
	Fri, 8 Jan 1999 03:25:14 +0900 (JST)
Message-Id: <199901071825.DAA02667@local.ocn.ne.jp>
Date: Fri, 8 Jan 1999 03:25:14 +0900 (JST)
From: dcs@newsguy.com
Reply-To: dcs@newsguy.com
To: FreeBSD-gnats-submit@freebsd.org
Cc: dcs@newsguy.com
Subject: aio man pages
X-Send-Pr-Version: 3.2

>Number:         9372
>Category:       docs
>Synopsis:       aio_read(2) man page points to wrong include file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan  7 10:30:01 PST 1999
>Closed-Date:    Sun Jan 17 16:10:14 PST 1999
>Last-Modified:  Sun Jan 17 16:11:34 PST 1999
>Originator:     Daniel C. Sobral
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

	Current, I guess...

>Description:

	aio_read(2) man page points to <aio.h> file, which do not exist.
There are two aio.h files, sys/aio.h and posix4/aio.h. It would seem to
me that the file we ought to include right now is sys/aio.h, though it
beats the heck out of me why it is inside sys.

>How-To-Repeat:

	man aio_read
	#include <aio.h>? :-)

>Fix:
	
	Apply the following patch:


--- lib/libc/sys/aio_read.2.orig	Fri Jan  8 03:17:08 1999
+++ lib/libc/sys/aio_read.2	Fri Jan  8 03:18:03 1999
@@ -31,7 +31,7 @@
 .Nm aio_read
 .Nd asynchronus read from a file (REALTIME)
 .Sh SYNOPSIS
-.Fd #include <aio.h>
+.Fd #include <sys/aio.h>
 .Ft int
 .Fn aio_read "struct aiocb *iocb"
 .Sh DESCRIPTION
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun Jan 17 16:10:14 PST 1999 
State-Changed-Why:  
Fixed by Dmitrij in rev.1.92 of src/include/Makefile. 
>Unformatted:
