Date: 06 Apr 1999 12:54:04 +0300 From: Ville-Pertti Keinonen <will@iki.fi> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: current@freebsd.org Subject: Re: aio_read Message-ID: <86vhfam5vn.fsf@not.oeno.com> In-Reply-To: Matthew Dillon's message of "5 Apr 1999 21:34:54 %2B0300" References: <Pine.BSF.3.96.990405141834.22049D-100000@fledge.watson.org> <199904051834.LAA11656@apollo.backplane.com.newsgate.clinet.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Dillon <dillon@apollo.backplane.com> writes: > UNIX has been broken this way from day 1. It was a major design mistake. > The only way to get your own descriptor seek offset is to open() the > file again. It's not necessarily breakage. Not having any mechanism other than open to get your own seek offset is nasty, but sharing a seek offset can also be useful. File descriptors can't be "reverse-inherited", so in order to continue writing to the same redirected output file, a sequence of commands executed by a shell needs to be able to share the actual file offset. I believe this was the original reason for the behavior. 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?86vhfam5vn.fsf>
