From: Alejandro Colomar Date: Wed, 4 Jun 2025 12:32:41 +0000 (+0200) Subject: man/man3/: Shorten parameter names X-Git-Tag: man-pages-6.15~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e1415cc716b0c8befe22440af88bbe69ce6fe86;p=thirdparty%2Fman-pages.git man/man3/: Shorten parameter names Signed-off-by: Alejandro Colomar --- diff --git a/man/man3/error.3 b/man/man3/error.3 index 02a16ea07..86388924c 100644 --- a/man/man3/error.3 +++ b/man/man3/error.3 @@ -34,8 +34,8 @@ Standard C library .B #include .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 diff --git a/man/man3/mcheck.3 b/man/man3/mcheck.3 index 83cba01c7..b628347b2 100644 --- a/man/man3/mcheck.3 +++ b/man/man3/mcheck.3 @@ -13,9 +13,9 @@ Standard C library .nf .B #include .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)"