Re: Missing crucial information in splice(2) manpage

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

 



Hello Absee,

On Sun, Aug 25, 2024 at 07:22:43AM GMT, Absee Seeab wrote:
> Hello,
> 
> The splice(2) manpage (at least the version at man7.org) does not
> specify that off_in/off_out are written to after the operation.
> 
> This, however, is done by the kernel (observed both by behaviour and
> source code).
> 
> Plus I see similar functions (like copy_file_range and send_file) do
> document this fact, but splice does not, so it seems like a
> documentation omission.
> 
> (This caused me a bit of a debugging headache today)

Would you mind adding an example program to that page, and also some
paragraph that documents that?

Cheers,
Alex

> 
> Thanks
> 

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[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