aboutsummaryrefslogtreecommitdiffstats
path: root/man3/err.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/err.3')
-rw-r--r--man3/err.314
1 files changed, 7 insertions, 7 deletions
diff --git a/man3/err.3 b/man3/err.3
index fc1394a31d..c08db95dee 100644
--- a/man3/err.3
+++ b/man3/err.3
@@ -34,7 +34,7 @@
.\"
.\" 2007-12-08, mtk, Converted from mdoc to man macros
.\"
-.TH ERR 3 2007-12-08 "Linux" "Linux Programmer's Manual"
+.TH ERR 3 2007-12-28 "Linux" "Linux Programmer's Manual"
.SH NAME
err, verr, errx, verrx, warn, vwarn, warnx, vwarnx \- formatted error messages
.SH SYNOPSIS
@@ -74,7 +74,7 @@ argument is not NULL, the
.BR printf (3)-like
formatted error message is output.
The output is terminated by a newline character.
-.sp
+.PP
The
.BR err (),
.BR verr (),
@@ -89,7 +89,7 @@ preceded by another colon and space unless the
.I fmt
argument is
NULL.
-.sp
+.PP
The
.BR err (),
.BR verr (),
@@ -99,13 +99,13 @@ and
functions use the global variable
.I errno
to look up the error message.
-.sp
+.PP
The
.BR errx ()
and
.BR warnx ()
functions do not append an error message.
-.sp
+.PP
The
.BR err (),
.BR verr (),
@@ -125,7 +125,7 @@ if ((fd = open(file_name, O_RDONLY, 0)) == \-1)
err(1, "%s", file_name);
.fi
.in
-.sp
+.PP
Display an error message and exit:
.in +4n
.nf
@@ -134,7 +134,7 @@ if (tm.tm_hour < START_TIME)
errx(1, "too early, wait until %s", start_time_string);
.fi
.in
-.sp
+.PP
Warn of an error:
.in +4n
.nf