phk at phk.freebsd.dk
Sun Apr 13 07:05:54 UTC 2008
In message <20080412132457.W43186 at desktop>, Jeff Roberson writes:
>It's worth discussing what posix actually guarantees for f_offset as well
>as what other operating systems do.
I think DWIM is quite easily defined here: concurrent access only
makes sense with pwrite[v](2)/pread[v](2).
The non p-prefix versions should always be serialized, because there
is know way of knowing where they read/write if you don't.
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-arch