Annotation of src/external/bsd/elftoolchain/dist/libdwarf/dwarf_errno.3, Revision 1.3
1.2 christos 1: .\" $NetBSD$
2: .\"
1.1 christos 3: .\" Copyright (c) 2009,2010 Joseph Koshy. All rights reserved.
4: .\"
5: .\" Redistribution and use in source and binary forms, with or without
6: .\" modification, are permitted provided that the following conditions
7: .\" are met:
8: .\" 1. Redistributions of source code must retain the above copyright
9: .\" notice, this list of conditions and the following disclaimer.
10: .\" 2. Redistributions in binary form must reproduce the above copyright
11: .\" notice, this list of conditions and the following disclaimer in the
12: .\" documentation and/or other materials provided with the distribution.
13: .\"
14: .\" This software is provided by Joseph Koshy ``as is'' and
15: .\" any express or implied warranties, including, but not limited to, the
16: .\" implied warranties of merchantability and fitness for a particular purpose
17: .\" are disclaimed. in no event shall Joseph Koshy be liable
18: .\" for any direct, indirect, incidental, special, exemplary, or consequential
19: .\" damages (including, but not limited to, procurement of substitute goods
20: .\" or services; loss of use, data, or profits; or business interruption)
21: .\" however caused and on any theory of liability, whether in contract, strict
22: .\" liability, or tort (including negligence or otherwise) arising in any way
23: .\" out of the use of this software, even if advised of the possibility of
24: .\" such damage.
25: .\"
26: .\" Id: dwarf_errno.3 2073 2011-10-27 03:30:47Z jkoshy
27: .\"
28: .Dd March 25, 2010
29: .Os
30: .Dt DWARF_ERRNO 3
31: .Sh NAME
32: .Nm dwarf_errno
33: .Nd retrieve the error number corresponding to a
34: .Vt Dwarf_Error
35: instance
36: .Sh LIBRARY
37: .Lb libdwarf
38: .Sh SYNOPSIS
39: .In libdwarf.h
40: .Ft int
41: .Fn dwarf_errno "Dwarf_Error err"
42: .Sh DESCRIPTION
43: Function
44: .Fn dwarf_errno
45: returns the error number associated with a
46: .Vt Dwarf_Error
47: instance.
48: .Pp
49: Argument
50: .Ar err
51: should be a valid handle to a
52: .Vt Dwarf_Error
53: instance.
54: .Sh RETURN VALUES
55: Function
56: .Fn dwarf_errno
57: returns an integral value.
58: .Sh SEE ALSO
59: .Xr dwarf 3 ,
60: .Xr dwarf_errmsg 3
CVSweb <webmaster@jp.NetBSD.org>