GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ELF_GETDATA(3) Libelf Programmer's Manual ELF_GETDATA(3)

elf_getdata - Get washed data of section

#include <libelf.h>

Elf_Data * elf_getdata (Elf_Scn *scn, Elf_Data *data);

The elf_getdata() function allows the user to retrieve the data buffers of the section scn
. There can be more than one buffer if the user explicitly added them. When a file is read the libelf library creates exactly one data buffer.

The first buffer in the list can be obtained by passing a null pointer in the parameter data. To get the next data buffer the previously returned value must be passed in the data parameter. If there are no more buffer left in the list a null pointer is returned.

If the data parameter is not a null pointer it must be a descriptor for a buffer associated with the section scn . If this is not the case a null pointer is returned. To facilitate error handling elf_getdata also returns a null pointer if the scn parameter is a null pointer.

2017-08-17 Libelf

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.