Re: [PATCH] strerror.3: Don't discuss buffer size for strerror_l()

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

 



On 3/6/19 10:41 AM, Jakub Wilk wrote:
> Unlike strerror_r(), strerror_l() doesn't take buffer length as an
> argument.

Thanks, Jakub. Patch applied.

Cheers,

Michael

> Signed-off-by: Jakub Wilk <jwilk@xxxxxxxxx>
> ---
>  man3/strerror.3 | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/man3/strerror.3 b/man3/strerror.3
> index 0658cdede..9980c758e 100644
> --- a/man3/strerror.3
> +++ b/man3/strerror.3
> @@ -262,9 +262,7 @@ The GNU C Library uses a buffer of 1024 characters for
>  This buffer size therefore should be sufficient to avoid an
>  .B ERANGE
>  error when calling
> -.BR strerror_r ()
> -and
> -.BR strerror_l ().
> +.BR strerror_r ().
>  .SH SEE ALSO
>  .BR err (3),
>  .BR errno (3),
> 


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