Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 May 1999 12:46:54 -0400 (EDT)
From:      robert@fledge.watson.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/11589: aio_read man page bugs
Message-ID:  <199905081646.MAA04822@sleipnir.watson.org>

next in thread | raw e-mail | index | archive | help

>Number:         11589
>Category:       docs
>Synopsis:       Missing #includes in aio_read(2)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May  8 09:50:01 PDT 1999
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905081646.MAA04822>