File: unw_strerror.tex

package info (click to toggle)
android-platform-external-libunwind 8.1.0%2Br23-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,264 kB
  • sloc: ansic: 34,068; sh: 6,931; asm: 1,910; makefile: 841; cpp: 137
file content (42 lines) | stat: -rw-r--r-- 948 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
\documentclass{article}
\usepackage[fancyhdr,pdf]{latex2man}

\input{common.tex}

\begin{document}

\begin{Name}{3}{unw\_strerror}{Thomas Hallgren}{Programming Library}{unw\_strerror}unw\_strerror -- get text corresponding to error code
\end{Name}

\section{Synopsis}

\File{\#include $<$libunwind.h$>$}\\

\Type{const char *} \Func{unw\_strerror}(\Type{int} \Var{err\_code});\\

\section{Description}

The \Func{unw\_strerror}() routine maps the (negative) \Var{err\_code}
to a corresponding text message and returns it.

\section{Return Value}

The message that corresponds to \Var{err\_code} or, if the
\Var{err\_code} has no corresponding message, the text "invalid error
code".

\section{Thread and Signal Safety}

\Func{unw\_strerror}() is thread-safe as well as safe to use
from a signal handler.

\section{Author}

\noindent
Thomas Hallgren\\
BEA Systems\\
Stockholm, Sweden\\
Email: \Email{thallgre@bea.com}\\
\LatexManEnd

\end{document}