From robert@sleipnir.watson.org Sat May  8 09:46:40 1999
Return-Path: <robert@sleipnir.watson.org>
Received: from sleipnir.watson.org (SLEIPNIR.RES.CMU.EDU [128.2.91.229])
	by hub.freebsd.org (Postfix) with ESMTP id 1097214CC4
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  8 May 1999 09:46:33 -0700 (PDT)
	(envelope-from robert@sleipnir.watson.org)
Received: (from robert@localhost)
	by sleipnir.watson.org (8.9.3/8.9.1) id MAA04822;
	Sat, 8 May 1999 12:46:54 -0400 (EDT)
	(envelope-from robert)
Message-Id: <199905081646.MAA04822@sleipnir.watson.org>
Date: Sat, 8 May 1999 12:46:54 -0400 (EDT)
From: robert@fledge.watson.org
Sender: robert@sleipnir.watson.org
Reply-To: robert+freebsd@cyrus.watson.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: aio_read man page bugs
X-Send-Pr-Version: 3.2

>Number:         11589
>Category:       docs
>Synopsis:       Missing #includes in aio_read(2)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    nik
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May  8 09:50:01 PDT 1999
>Closed-Date:    Mon Jun 14 12:05:46 PDT 1999
>Last-Modified:  Mon Jun 14 12:12:07 PDT 1999
>Originator:     Robert Watson
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

-current shortly before the egcs switch, attempting to write a program
using aio_read

>Description:

The man page only references aio.h in the list of includes in the synopsis.
In reality, it also requires <sys/time.h>

>How-To-Repeat:

#include <aio.h> without including <sys/time.h>

>Fix:
	
Add

#include <sys/time.h>

to the synopsis section above the include of aio.h

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->nik 
Responsible-Changed-By: nik 
Responsible-Changed-When: Fri May 28 16:52:39 PDT 1999 
Responsible-Changed-Why:  
Got it. 
State-Changed-From-To: open->closed 
State-Changed-By: nik 
State-Changed-When: Mon Jun 14 12:05:46 PDT 1999 
State-Changed-Why:  
aio.h fixed to include <sys/time.h>.  Thanks for the report. 
>Unformatted:
