Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Apr 1999 13:39:45 -0400 (EDT)
From:      Robert Watson <robert@cyrus.watson.org>
To:        terry@whistle.com
Cc:        current@freebsd.org
Subject:   aio_read
Message-ID:  <Pine.BSF.3.96.990405133547.22049B-100000@fledge.watson.org>

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

Terry,

In the BUGS section of the 4.0-CURRENT aio_read man page, the following
comment is made:

	The value of iocb->aio_offset is ignored.

Is this actually the case, and what would be required to fix it?  Does
this comment imply that reads always occur at the current file offset from
the open file structure?  What I would like to do is have a child process
read from an inherited file descriptor without affecting the parent
process's access to the descriptor (for example, the offset it reads from
using a normal read() or readv()).

I address this to you because you seem to be listed in the man page as the
author of the man page (although it looks like John Dyson has the
copyright on the source code?)

Thanks,

  Robert N Watson 

robert@fledge.watson.org              http://www.watson.org/~robert/
PGP key fingerprint: 03 01 DD 8E 15 67 48 73  25 6D 10 FC EC 68 C1 1C

Carnegie Mellon University            http://www.cmu.edu/
TIS Labs at Network Associates, Inc.  http://www.tis.com/
Safeport Network Services             http://www.safeport.com/



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990405133547.22049B-100000>