manual: Fix strerrorname_np and strerrordesc_np return type (BZ #26343)

This commit is contained in:
Adhemerval Zanella 2020-08-07 16:49:59 -03:00
parent b7dd366dbe
commit 268ed383b5

View file

@ -1207,7 +1207,7 @@ to @code{errno}.
The function @code{perror} is declared in @file{stdio.h}.
@end deftypefun
@deftypefun void strerrorname_np (int @var{errnum})
@deftypefun const char * strerrorname_np (int @var{errnum})
@standards{GNU, string.h}
@safety{@mtsafe{}@assafe{}@acsafe{}}
This function returns the name describing the error @var{errnum} or
@ -1218,7 +1218,7 @@ for @code{EINVAL}).
This function is a GNU extension, declared in the header file @file{string.h}.
@end deftypefun
@deftypefun void strerrordesc_np (int @var{errnum})
@deftypefun const char * strerrordesc_np (int @var{errnum})
@standards{GNU, string.h}
@safety{@mtsafe{}@assafe{}@acsafe{}}
This function returns the message describing the error @var{errnum} or