diff options
| author | Alejandro Colomar <alx@kernel.org> | 2023-05-03 00:48:14 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2023-05-03 00:48:22 +0200 |
| commit | fe5dba139dc089eae4061fdc17f087e71f48b198 (patch) | |
| tree | 54af56b1b0138bde9a21e99372ab68ce4d64564a /man3/mtrace.3 | |
| parent | 5a0d9ed151e6449d978fabdd654cacc17b20a235 (diff) | |
| download | man-pages-fe5dba139dc089eae4061fdc17f087e71f48b198.tar.gz | |
man*/, man.ignore.grep: srcfix; warn about blank lines
- Use the dummy character to avoid warnings in examples.
- Re-enable the warning.
Suggested-by: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man3/mtrace.3')
| -rw-r--r-- | man3/mtrace.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/mtrace.3 b/man3/mtrace.3 index 3713ffedf4..c7fb2f81f1 100644 --- a/man3/mtrace.3 +++ b/man3/mtrace.3 @@ -132,15 +132,15 @@ The demonstration uses the following program: #include <mcheck.h> #include <stdio.h> #include <stdlib.h> - +\& int main(void) { mtrace(); - +\& for (unsigned int j = 0; j < 2; j++) malloc(100); /* Never freed\-\-a memory leak */ - +\& calloc(16, 16); /* Never freed\-\-a memory leak */ exit(EXIT_SUCCESS); } |
