diff options
| -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)" |
