Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 1999 03:25:14 +0900 (JST)
From:      dcs@newsguy.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        dcs@newsguy.com
Subject:   docs/9372: aio man pages
Message-ID:  <199901071825.DAA02667@local.ocn.ne.jp>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan  7 10:30:01 PST 1999
>Closed-Date:
>Last-Modified:
>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:
>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?199901071825.DAA02667>