Re: [PATCH] rename.2: add feature test macro for renameat2()

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

 



On 08/16/2018 09:24 AM, Tobias Klauser wrote:
> The glibc wrapper for renameat2() was added in glibc 2.28 and requires
> _GNU_SOURCE.

Thanks, Tobias. Patch applied.

Cheers,

Michael

> Signed-off-by: Tobias Klauser <tklauser@xxxxxxxxxx>
> ---
>  man2/rename.2 | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/man2/rename.2 b/man2/rename.2
> index 0710357ef99f..53b26b589332 100644
> --- a/man2/rename.2
> +++ b/man2/rename.2
> @@ -65,7 +65,12 @@ _POSIX_C_SOURCE\ >=\ 200809L
>  .TP
>  Before glibc 2.10:
>  _ATFILE_SOURCE
> -.\" FIXME . need to define FTMs for renameat2(), once it hits glibc
> +.RE
> +.PP
> +.BR renameat2 ():
> +.RS 4
> +.TP
> +_GNU_SOURCE
>  .RE
>  .ad
>  .PD
> 


-- 
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