Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ isdelidx(S) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

isaddindex(S)


 isdelindex(S)                  6 January 1993                  isdelindex(S)


 Name

    isdelindex - delete an index

 Syntax


    cc  . . .  -lisam


    isdelindex (isfd, keydesc)
    int isfd;
    struct keydesc *keydesc;


 Description

    The isdelindex function deletes an existing index from an ISAM file.  You
    can use the following arguments with this routine:


    _________________________________________________________________________
    Argument                         Description
    _________________________________________________________________________
    isfd                             File descriptor identifying the ISAM
                                     file whose index is being deleted.
    keydesc                          Name of the structure defining the index
                                     to be deleted.

    Any index may be removed except the primary index.

    The file must be opened in exclusive mode or the operation fails. On suc-
    cess, isdelindex returns 0.  Otherwise, it returns -1 and sets iserrno to
    indicate the error.

 Example


       isdelindex(bookfd, &key) ;


 See also

    isaddindex(S)

 Standards conformance

    isdelindex is not part of any currently supported standard; it is an
    extension of AT&T System V provided by the Santa Cruz Operation.


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026