summaryrefslogtreecommitdiffstats
path: root/man3/error.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/error.3')
-rw-r--r--man3/error.320
1 files changed, 10 insertions, 10 deletions
diff --git a/man3/error.3 b/man3/error.3
index 95a964103..c2415e8de 100644
--- a/man3/error.3
+++ b/man3/error.3
@@ -53,7 +53,7 @@ It flushes
and then outputs to
.I stderr
the program name, a colon and a space, the message specified by the
-.BR printf (3)-style
+.MR printf 3 -style
format string \fIformat\fP, and, if \fIerrnum\fP is
nonzero, a second colon and a space followed by the string given by
.IR strerror(errnum) .
@@ -67,7 +67,7 @@ The output is terminated by a newline character.
The program name printed by
.BR error ()
is the value of the global variable
-.BR program_invocation_name (3).
+.MR program_invocation_name 3 .
.I program_invocation_name
initially has the same value as
.IR main ()'s
@@ -78,7 +78,7 @@ The value of this variable can be modified to change the output of
If \fIstatus\fP has a nonzero value, then
.BR error ()
calls
-.BR exit (3)
+.MR exit 3
to terminate the program using the given value as the exit status;
otherwise it returns after printing the error message.
.P
@@ -123,7 +123,7 @@ The function should print a suitable string to
.IR stderr .
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lb lb lbx
@@ -163,9 +163,9 @@ is very much like
.SH STANDARDS
GNU.
.SH SEE ALSO
-.BR err (3),
-.BR errno (3),
-.BR exit (3),
-.BR perror (3),
-.BR program_invocation_name (3),
-.BR strerror (3)
+.MR err 3 ,
+.MR errno 3 ,
+.MR exit 3 ,
+.MR perror 3 ,
+.MR program_invocation_name 3 ,
+.MR strerror 3