:: Re: [DNG] Please keep 32-bits alive
Top Pagina
Delete this message
Reply to this message
Auteur: Didier Kryn
Datum:  
Aan: dng
Onderwerp: Re: [DNG] Please keep 32-bits alive
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