pread/pwrite manpage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Man page does not say that not only file offset is not changed, but
that file offset is not ever used. So, race condition impossible when
one process/thread changes offset, and other is calling pread/pwrite.
I mean that we must say that pread/pwrite is not just combination of
seek+read/write.

The same is described in pselect manpage, saying that pselect is not
just combination of setprocmask+select.

--
Segmentation fault
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux