diff options
| author | Alejandro Colomar <alx@kernel.org> | 2025-06-04 14:32:41 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2025-06-05 16:20:08 +0200 |
| commit | 5e1415cc716b0c8befe22440af88bbe69ce6fe86 (patch) | |
| tree | 36dd6c8e113bcbbb79225233273d89eddf113177 | |
| parent | efc8f8feb5bfd840edd858ad376d6836d5f400f5 (diff) | |
| download | man-pages-5e1415cc716b0c8befe22440af88bbe69ce6fe86.tar.gz | |
man/man3/: Shorten parameter names
Signed-off-by: Alejandro Colomar <alx@kernel.org>
| -rw-r--r-- | man/man3/error.3 | 16 | ||||
| -rw-r--r-- | man/man3/mcheck.3 | 10 |
2 files changed, 13 insertions, 13 deletions
diff --git a/man/man3/error.3 b/man/man3/error.3 index 02a16ea076..86388924cd 100644 --- a/man/man3/error.3 +++ b/man/man3/error.3 @@ -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 diff --git a/man/man3/mcheck.3 b/man/man3/mcheck.3 index 83cba01c72..b628347b25 100644 --- a/man/man3/mcheck.3 +++ b/man/man3/mcheck.3 @@ -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)" |
