Re: renameat2 doesn't have a no-glibc-wrapper note

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

 



Hello Georg.

On 03/13/2017 12:09 AM, Georg Sauthoff wrote:
> Hello,
> 
> the renameat2(2) man page [1] currently doesn't mention that you have to use
> sycall() to access it. Tested it with glibc-2.24-4.fc25.x86_64.
> 
> Can you add notes similar to what e.g. kcmp(2) [2] has?

Thanks for reporting this. I've added some text to the rename(2)
page to note the requirement to use syscall(2).

Cheers,

Michael


> I mean:
> 
>> Note: There is no glibc wrapper for this system call; see NOTES.
>> [..]
>> NOTES
>>
>>        Glibc does not provide a wrapper for this system call; call it using
>>        syscall(2).
> 
> 
> Best regards
> Georg
> 
> [1]: http://man7.org/linux/man-pages/man2/renameat2.2.html
> [2]: http://man7.org/linux/man-pages/man2/kcmp.2.html
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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