Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 1999 18:26:47 -0700 (PDT)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Brian Feldman <green@unixhelp.org>
Cc:        Jason Thorpe <thorpej@nas.nasa.gov>, jwm@CSUA.Berkeley.EDU, freebsd-hackers@FreeBSD.ORG
Subject:   Re: read() and pread() syscalls 
Message-ID:  <199904120126.SAA11924@apollo.backplane.com>
References:   <Pine.BSF.4.05.9904112120340.35407-100000@janus.syracuse.net>

next in thread | previous in thread | raw e-mail | index | archive | help
:> 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.

					-Matt


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?199904120126.SAA11924>