unw_strerror.tex 948 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. \documentclass{article}
  2. \usepackage[fancyhdr,pdf]{latex2man}
  3. \input{common.tex}
  4. \begin{document}
  5. \begin{Name}{3}{unw\_strerror}{Thomas Hallgren}{Programming Library}{unw\_strerror}unw\_strerror -- get text corresponding to error code
  6. \end{Name}
  7. \section{Synopsis}
  8. \File{\#include $<$libunwind.h$>$}\\
  9. \Type{const char *} \Func{unw\_strerror}(\Type{int} \Var{err\_code});\\
  10. \section{Description}
  11. The \Func{unw\_strerror}() routine maps the (negative) \Var{err\_code}
  12. to a corresponding text message and returns it.
  13. \section{Return Value}
  14. The message that corresponds to \Var{err\_code} or, if the
  15. \Var{err\_code} has no corresponding message, the text "invalid error
  16. code".
  17. \section{Thread and Signal Safety}
  18. \Func{unw\_strerror}() is thread-safe as well as safe to use
  19. from a signal handler.
  20. \section{Author}
  21. \noindent
  22. Thomas Hallgren\\
  23. BEA Systems\\
  24. Stockholm, Sweden\\
  25. Email: \Email{thallgre@bea.com}\\
  26. \LatexManEnd
  27. \end{document}