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_RAWFILE(3) FreeBSD Library Functions Manual ELF_RAWFILE(3)

elf_rawfile
return uninterpreted contents of an ELF file

ELF Access Library (libelf, -lelf)

#include <libelf.h>

char *
elf_rawfile(Elf *elf, size_t *sz);

Function elf_rawfile() returns the uninterpreted contents of the file referenced by ELF descriptor elf.

If argument sz is non-null, the function stores the file's size in bytes in the location to which it points. A value of zero is written to this location if an error is encountered.

Function elf_rawfile() returns a valid pointer if successful or NULL if an error occurs.

Function elf_rawfile() may fail with the following errors:
[]
Argument elf was NULL.
[]
Argument elf was opened for writing and function elf_rawfile() was invoked before elf_update(3).

elf(3), elf_getdata(3), elf_getident(3), elf_kind(3), elf_update(3)
July 3, 2006 FreeBSD 13.1-RELEASE

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.