Date: Sun, 11 Apr 1999 23:14:16 -0400 (EDT) From: Brian Feldman <green@unixhelp.org> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: Jason Thorpe <thorpej@nas.nasa.gov>, jwm@CSUA.Berkeley.EDU, freebsd-hackers@FreeBSD.ORG Subject: Re: read() and pread() syscalls Message-ID: <Pine.BSF.4.05.9904112312470.36814-100000@janus.syracuse.net> In-Reply-To: <199904120126.SAA11924@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 11 Apr 1999, Matthew Dillon wrote: > :> But, see above about it not being possible to emulate read() with pread() > :> in userspace. > : > :You mean, without lseek(2) =) > > pread/pwrite + lseek is not atomic, so exact emulation is not > possible. That's true (didn't think about atomicity). But on the other hand, I would oppose read being taken away and replaced with readv. It would break backward compatibility. And if the syscall slot was still there and read was there, there's no reason to have a readv wrapper... What was the point of this whole thing? > > -Matt > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > Brian Feldman _ __ ___ ____ ___ ___ ___ green@unixhelp.org _ __ ___ | _ ) __| \ FreeBSD: The Power to Serve! _ __ | _ \__ \ |) | http://www.freebsd.org _ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" 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.4.05.9904112312470.36814-100000>