ELF_ERRMSG(3) | Libelf Programmer's Manual | ELF_ERRMSG(3) |
elf_errmsg - return the error message string for a given libelf error code.
#include <libelf.h>
const char *elf_errmsg(int err);
The elf_errmsg function retrieves a human-readable string corresponding to the most recent error code set by a libelf library function. If err is 0, the function returns the error message for the most recent error code. If err is non-zero, the function returns the error message for the specified error code.
The elf_errmsg function returns a string containing the error message. If there is no corresponding error message, it returns NULL.
elf_errno(3)
Report bugs to <elfutils-devel@sourceware.org> or https://sourceware.org/bugzilla/.
2024-06-24 | Libelf |