Le 26/07/2017 à 12:56, Enrico Weigelt, metux IT consult a écrit :
and even unistd's write() and seek() are wrappers for kernel's pwrite().
No. Just look at the code. write()+seek() as different semantics
than pwrite(), and they don't even need to be supported by some
particular fd.
AFAIK libc's pwrite() is the low-level (minimal) wrapper to the
linux Write system-call. There isn't the concept of sequential
read/write to a disk in the kernel and this paradigm is implemented by
the means of libc's write().
Didier
_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng