summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorbea.com!thallgre <bea.com!thallgre>2004-08-18 15:16:46 +0000
committerbea.com!thallgre <bea.com!thallgre>2004-08-18 15:16:46 +0000
commit48cc8c5712f2565c5f71cbff56019fa4f0f13776 (patch)
treed3e94883c7469c502b56440ca83a2e7b3a28448d /doc
parent7556c9ae615770b26499280f233136e25d36e25d (diff)
downloadlibunwind-48cc8c5712f2565c5f71cbff56019fa4f0f13776.tar.gz
(Logical change 1.245)
Diffstat (limited to 'doc')
-rw-r--r--doc/unw_strerror.man63
-rw-r--r--doc/unw_strerror.tex42
2 files changed, 105 insertions, 0 deletions
diff --git a/doc/unw_strerror.man b/doc/unw_strerror.man
new file mode 100644
index 00000000..467c44d2
--- /dev/null
+++ b/doc/unw_strerror.man
@@ -0,0 +1,63 @@
+'\" t
+.\" Manual page created with latex2man on Wed Aug 18 16:51:29 CEST 2004
+.\" NOTE: This file is generated, DO NOT EDIT.
+.de Vb
+.ft CW
+.nf
+..
+.de Ve
+.ft R
+
+.fi
+..
+.TH "UNW\\_STRERROR" "3" "18 August 2004" "Programming Library " "Programming Library "
+.SH NAME
+unw_strerror
+\-\- get text corresponding to error code
+.PP
+.SH SYNOPSIS
+
+.PP
+#include <libunwind.h>
+.br
+.PP
+const char *
+unw_strerror(int
+err_code);
+.br
+.PP
+.SH DESCRIPTION
+
+.PP
+The unw_strerror()
+routine maps the (negative) err_code
+to a corresponding text message and returns it.
+.PP
+.SH RETURN VALUE
+
+.PP
+The message that corresponds to err_code
+or, if the
+err_code
+has no corresponding message, the text "invalid error
+code".
+.PP
+.SH THREAD AND SIGNAL SAFETY
+
+.PP
+unw_strerror()
+is thread\-safe as well as safe to use
+from a signal handler.
+.PP
+.SH AUTHOR
+
+.PP
+Thomas Hallgren
+.br
+BEA Systems
+.br
+Stockholm, Sweden
+.br
+Email: \fBthallgre@bea.com\fP
+.br
+.\" NOTE: This file is generated, DO NOT EDIT.
diff --git a/doc/unw_strerror.tex b/doc/unw_strerror.tex
new file mode 100644
index 00000000..7cad0117
--- /dev/null
+++ b/doc/unw_strerror.tex
@@ -0,0 +1,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}