finish using an object file
cc [flag . . . ] file . . . -lelf [library] . . .
int elf_end(Elf *elf);
A program uses
to terminate an
and to deallocate data associated with the descriptor.
Until the program terminates a descriptor, the
data remain allocated.
should be a value previously returned by
a null pointer is allowed as an argument, to simplify error handling.
If the program wishes to write data associated with the
descriptor to the file, it must use
explains, a descriptor can have more than one activation.
removes one activation and returns the remaining activation count.
The library does not
terminate the descriptor until the activation count reaches zero.
A zero return value indicates that the
descriptor is no longer valid.
Error conditions are identified through the routine
is not part of any currently supported standard;
it was developed by UNIX System Laboratories, Inc.
and is maintained by The SCO Group.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003