summaryrefslogtreecommitdiff
path: root/doc/elf_begin.3
blob: 6a1d0c2714b07762bef971390b3a7cad3e891a81 (plain)
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
.\" Modified Thu Sep 5 2017 by Ben Woodard <woodard@redhat.com>
.\"
.TH ELF_BEGIN 3 2017-09-05 "Libelf" "Libelf Programmer's Manual"
.SH NAME
elf_begin \- Return descriptor for ELF file.
.nf
.SH SYNOPSIS
.B #include <libelf.h>
.sp
.BI "Elf *elf_begin (int " filedes ", Elf_Cmd " cmd ", Elf *" ref ");"
.BI "Elf *elf_clone (int " filedes ", Elf_Cmd " cmd ");"
.BI "int elf_end (Elf *" elf ");"
.fi
.SH DESCRIPTION
The
.BR elf_begin ()
.SH RETURN VALUE
.SH ERRORS
elf_begin ELF_E_NO_VERSION ELF_E_INVALID_FILE ELF_E_INVALID_CMD ELF_E_NOMEM
elf_clone ELF_E_NOMEM
elf_end
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
.TS
allbox;
lbw29 lb lb
l l l.
Interface       Attribute       Value
T{
.BR elf_begin (),
.BR elf_clone (),
.BR elf_end ()
T}      Thread safety   MT-Safe
.TE

.SH SEE ALSO