Re: [PATCH 05/32] posixoptions.7: Fix legacy functions list (s/getcwd/getwd/)

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

 



Hello Alan, Alex,

On 7/28/21 10:19 PM, Alejandro Colomar wrote:
> Alan:
> 
> [
> The on-line copy of the manual page "posixoptions(7)" dated
> 2018-04-30 has an entry for "getcwd()" in the section headed
> "XSI - _XOPEN_LEGACY - _SC_XOPEN_LEGACY".
> I believe that entry should be "getwd()" as that is the API call
> which was present in X/Open-6 but withdrawn in X/Open-7.
> ]
> 
> Reported-by: Alan Peakall <Alan.Peakall@xxxxxxxxxxxxxxx>
> Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>

Thanks. Patch applied.

Cheers,

Michael

> ---
>  man7/posixoptions.7 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man7/posixoptions.7 b/man7/posixoptions.7
> index d2ee10302..d6882fe05 100644
> --- a/man7/posixoptions.7
> +++ b/man7/posixoptions.7
> @@ -968,7 +968,7 @@ The following functions are present:
>  .IR fcvt ()
>  .IR ftime ()
>  .IR gcvt ()
> -.IR getcwd ()
> +.IR getwd ()
>  .IR index ()
>  .IR mktemp ()
>  .IR rindex ()
> 


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