]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
minor changes
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 28 Apr 2006 19:19:03 +0000 (19:19 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 28 Apr 2006 19:19:03 +0000 (19:19 +0000)
man3/error.3

index dc11d066b89ac88b26881880a528f7d824f13806..032d21dc70cd14266fca4a3e71eee760f1a7d69b 100644 (file)
@@ -28,7 +28,7 @@ error, error_at_line, error_message_count, error_on_per_line, \
 error_print_progname \- glibc error reporting functions
 .SH SYNOPSIS
 .nf
-.. #include <error.h>
+\fB#include <error.h>
 
 \fBvoid error(int \fIstatus, \fBint\fI errnum, \
 \fBconst char *\fIformat, \fB...);
@@ -65,15 +65,16 @@ The output is terminated by a newline character.
 The program name printed by 
 .BR error ()
 is the value of the global variable
-.IR program_invocation_name 
-(which initially has the same value as
-.IR main ()'s
-.IR argv[0] ), 
-declared as
+.IR program_invocation_name ,
+This variable is declared as
 .IR "extern char *program_invocation_name" 
 in 
 .IR <errno.h> 
 if the feature test macro _GNU_SOURCE is defined.
+.IR program_invocation_name 
+initially has the same value as
+.IR main ()'s
+.IR argv[0] .
 The value of this variable can be modified to change the output of
 .BR error ().