diff options
Diffstat (limited to 'man3/backtrace.3')
-rw-r--r-- | man3/backtrace.3 | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/man3/backtrace.3 b/man3/backtrace.3 index 4875da31f..e2d187039 100644 --- a/man3/backtrace.3 +++ b/man3/backtrace.3 @@ -89,7 +89,7 @@ The address of the array of string pointers is returned as the function result of .BR backtrace_symbols (). This array is -.BR malloc (3)ed +.MR malloc 3 ed by .BR backtrace_symbols (), and must be freed by the caller. @@ -108,7 +108,7 @@ it writes the strings, one per line, to the file descriptor .IR fd . .BR backtrace_symbols_fd () does not call -.BR malloc (3), +.MR malloc 3 , and so can be employed in situations where the latter function might fail, but see NOTES. .SH RETURN VALUE @@ -127,12 +127,12 @@ oldest stack frames are not returned. On success, .BR backtrace_symbols () returns a pointer to the array -.BR malloc (3)ed +.MR malloc 3 ed by the call; on error, NULL is returned. .SH ATTRIBUTES For an explanation of the terms used in this section, see -.BR attributes (7). +.MR attributes 7 . .TS allbox; lbx lb lb @@ -157,7 +157,7 @@ Note the following: .IP \[bu] 3 Omission of the frame pointers (as implied by any of -.BR gcc (1)'s +.MR gcc 1 's nonzero optimization levels) may cause these assumptions to be violated. .IP \[bu] @@ -174,7 +174,7 @@ explicitly, but they are part of .IR libgcc , which gets loaded dynamically when first used. Dynamic loading usually triggers a call to -.BR malloc (3). +.MR malloc 3 . If you need certain calls to these two functions to not allocate memory (in signal handlers, for example), you need to make sure .I libgcc @@ -275,9 +275,9 @@ main(int argc, char *argv[]) .EE .\" SRC END .SH SEE ALSO -.BR addr2line (1), -.BR gcc (1), -.BR gdb (1), -.BR ld (1), -.BR dlopen (3), -.BR malloc (3) +.MR addr2line 1 , +.MR gcc 1 , +.MR gdb 1 , +.MR ld 1 , +.MR dlopen 3 , +.MR malloc 3 |