]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man3/: Shorten parameter names
authorAlejandro Colomar <alx@kernel.org>
Wed, 4 Jun 2025 12:32:41 +0000 (14:32 +0200)
committerAlejandro Colomar <alx@kernel.org>
Thu, 5 Jun 2025 14:20:08 +0000 (16:20 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/error.3
man/man3/mcheck.3

index 02a16ea0760668a057f50d5bcd05f8461ec67b95..86388924cd3b6d03a0d0294d288a61a00c13dffb 100644 (file)
@@ -34,8 +34,8 @@ Standard C library
 .B #include <error.h>
 .P
 .BI "void error(int " status ", int " errnum ", const char *" format ", ...);"
-.BI "void error_at_line(int " status ", int " errnum ", const char *" filename ,
-.BI "                   unsigned int " linenum ", const char *" format ", ...);"
+.BI "void error_at_line(int " status ", int " errnum ", const char *" file ,
+.BI "                   unsigned int " line ", const char *" format ", ...);"
 .P
 .BI "extern unsigned int " error_message_count ;
 .BI "extern int " error_one_per_line ;
@@ -90,15 +90,15 @@ The
 function is exactly the same as
 .BR error (),
 except for the addition of the arguments
-.I filename
+.I file
 and
-.IR linenum .
+.IR line .
 The output produced is as for
 .BR error (),
 except that after the program name are written: a colon, the value of
-.IR filename ,
+.IR file ,
 a colon, and the value of
-.IR linenum .
+.IR line .
 The preprocessor values
 .B __LINE__
 and
@@ -115,9 +115,9 @@ a sequence of
 .BR error_at_line ()
 calls with the
 same value of
-.I filename
+.I file
 and
-.I linenum
+.I line
 will result in only
 one message (the first) being output.
 .P
index 83cba01c72b24dd89469093826cd37c933bc01c8..b628347b2510b9a880bcc29826cff5d136a600a5 100644 (file)
@@ -13,9 +13,9 @@ Standard C library
 .nf
 .B #include <mcheck.h>
 .P
-.BI "int mcheck(typeof(void (enum mcheck_status " mstatus ")) *" abortfunc );
+.BI "int mcheck(typeof(void (enum mcheck_status " mstatus ")) *" f );
 .B  "int mcheck_pedantic("
-.BI "           typeof(void (enum mcheck_status " mstatus ")) *" abortfunc );
+.BI "           typeof(void (enum mcheck_status " mstatus ")) *" f );
 .B void mcheck_check_all(void);
 .P
 .BI "enum mcheck_status mprobe(void *" ptr );
@@ -61,12 +61,12 @@ is called beforehand.
 .P
 If the system detects an inconsistency in the heap,
 the caller-supplied function pointed to by
-.I abortfunc
+.I f
 is invoked with a single argument,
 .IR mstatus ,
 that indicates what type of inconsistency was detected.
 If
-.I abortfunc
+.I f
 is NULL, a default function prints an error message on
 .I stderr
 and calls
@@ -89,7 +89,7 @@ The following list describes the values returned by
 or passed as the
 .I mstatus
 argument when
-.I abortfunc
+.I f
 is invoked:
 .TP
 .BR MCHECK_DISABLED " (" mprobe "() only)"