diff options
author | Dave Watson <davejwatson@fb.com> | 2017-08-16 12:15:16 -0700 |
---|---|---|
committer | Dave Watson <davejwatson@fb.com> | 2017-08-16 13:11:24 -0700 |
commit | bd3fb89e113a84560808ee6c286a4f93c5ca879c (patch) | |
tree | 59b180e0b49e1ef8a1f30cc445567045b63dd001 /doc/unw_init_local.tex | |
parent | 644cce3d722e677073d0529c5a969e025888af86 (diff) | |
download | libunwind-bd3fb89e113a84560808ee6c286a4f93c5ca879c.tar.gz |
Change unw_init_local_signal to unw_init_local2(..., UNW_INIT_SIGNAL_FRAME)
Add unw_init_local2 with a flag for better extensibility in the future
Diffstat (limited to 'doc/unw_init_local.tex')
-rw-r--r-- | doc/unw_init_local.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/unw_init_local.tex b/doc/unw_init_local.tex index da6d5c29..ff0d03bc 100644 --- a/doc/unw_init_local.tex +++ b/doc/unw_init_local.tex @@ -13,7 +13,7 @@ \File{\#include $<$libunwind.h$>$}\\ \Type{int} \Func{unw\_init\_local}(\Type{unw\_cursor\_t~*}\Var{c}, \Type{unw\_context\_t~*}\Var{ctxt});\\ -\Type{int} \Func{unw\_init\_local_signal}(\Type{unw\_cursor\_t~*}\Var{c}, \Type{unw\_context\_t~*}\Var{ctxt});\\ +\Type{int} \Func{unw\_init\_local2}(\Type{unw\_cursor\_t~*}\Var{c}, \Type{unw\_context\_t~*}\Var{ctxt}, \Type{int} \Var{flag});\\ \section{Description} @@ -39,8 +39,8 @@ is not. If the unw_context_t is known to be a signal frame (i.e., from the third argument in a sigaction handler on linux), -\Func{unw\_init\_local\_signal}() should be used for correct -initialization on some platforms. +\Func{unw\_init\_local2}() should be used for correct initialization +on some platforms, passing the UNW_INIT_SIGNAL_FRAME flag. \section{Return Value} |