ldptr(S) 6 January 1993 ldptr(S) Name allocldptr, freeldptr, vldldptr - ldptr structure usage routines Syntax cc . . . -lld #include <ldfcn.h> LDFILE * allocldptr () int freeldptr (ldptr) LDFILE *ldptr; int vldldptr (ldptr) LDFILE *ldptr; Description The allocldptr routine allocates an LDFILE structure in memory and attaches it to the end of a linked list of such structures. allocldptr returns a pointer to the newly allocated LDFILE structure. freeldptr takes an instance of the LDFILE structure pointed to by ldptr and deletes it from the linked list. vldldptr determines if the LDFILE structure pointed to by ldptr is in the linked list and returns SUCCESS if the structure is in the linked list. Return values allocldptr returns a pointer to the newly allocated LDFILE structure on success; otherwise, NULL is returned. freeldptr and vldldptr both return SUCCESS on success; otherwise, they return FAILURE. Standards conformance allocldptr, freeldptr, and vldldptr are not part of any currently sup- ported standard; they are an extension of AT&T System V provided by the Santa Cruz Operation.