Re: [PATCH] copy_file_range.2: SYNOPSIS: Fix prototype parameter types

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

 



Hi Alex,

On 12/31/20 12:20 AM, Alejandro Colomar (man-pages) wrote:
> 
> 
> On 12/30/20 11:43 PM, Michael Kerrisk (man-pages) wrote:
>> Hi Alex,
>>
>> On 12/30/20 10:41 PM, Alejandro Colomar wrote:
>>> Glibc uses 'off64_t' instead of 'loff_t'.
>>
>> Okay.
>>
>>> This patch doesn't change the types in the code example,
>>> because it uses the Linux syscall, and not the glibc wrapper.
>>
>> I think the example probably also needs fixing then. There's
>> no longer a need for syscall(2) in this example, I think.
> 
> Hi Michael,
> 
> I thought the same, but glibc 2.26 is still supported,
> and lacks the wrapper.
> Would you change it already?

Yes.

Thanks,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[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