The ddpi_elf_term operation terminates a Ddpi_Elf object
and removes the given Ddpi_Elf from the list in its parent
access object.
Prototype
int ddpi_elf_term(
Ddpi_Elf elf,
Ddpi_Error* error);
Return values
- DW_DLV_OK
- Returned upon successful termination of the ELF object.
- DW_DLV_NO_ENTRY
- Returned if the ELF descriptor within the Ddpi_Elf object
is not found in the list of the parent Ddpi_Access object.
- DW_DLV_ERROR
- This value is returned if:
- elf is NULL
- The ELF descriptor within the Ddpi_Elf object is NULL
- The Ddpi_Access or Ddpi_Info object
associated with elf is NULL
- An error occurs during memory deallocation