Loading...
--- Libc/Libc-1725.40.4/string/FreeBSD/strerror.3
+++ Libc/Libc-763.13/string/FreeBSD/strerror.3
@@ -47,26 +47,18 @@
.Sh SYNOPSIS
.In stdio.h
.Ft void
-.Fo perror
-.Fa "const char *s"
-.Fc
+.Fn perror "const char *string"
.Vt extern const char * const sys_errlist[] ;
.Vt extern const int sys_nerr ;
.In string.h
.Ft "char *"
-.Fo strerror
-.Fa "int errnum"
-.Fc
+.Fn strerror "int errnum"
.Ft int
-.Fo strerror_r
-.Fa "int errnum"
-.Fa "char *strerrbuf"
-.Fa "size_t buflen"
-.Fc
+.Fn strerror_r "int errnum" "char *strerrbuf" "size_t buflen"
.Sh DESCRIPTION
The
.Fn strerror ,
-.Fn strerror_r ,
+.Fn strerror_r
and
.Fn perror
functions look up the error message string corresponding to an
@@ -96,7 +88,7 @@
and writes it, followed by a newline, to the
standard error file descriptor.
If the argument
-.Fa s
+.Fa string
is
.Pf non- Dv NULL
and does not point to the null character,
@@ -118,7 +110,7 @@
.Er EINVAL
as a warning.
Error numbers recognized by this implementation fall in
-the range 0 <=
+the range 0 <
.Fa errnum
<
.Fa sys_nerr .