Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ isdelrec(S) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

isdelcurr(S)

isdelete(S)


 isdelrec(S)                    6 January 1993                    isdelrec(S)


 Name

    isdelrec - delete record specified by record number

 Syntax


    cc  . . .  -lisam


    isdelrec (isfd, recnum)
    int isfd;
    long recnum;


 Description

    The isdelrec function deletes a record based on its record number.  The
    record number is a previously obtained isrecnum value.


    _________________________________________________________________________
    Argument                   Description
    _________________________________________________________________________
    isfd                       File descriptor identifying the ISAM file con-
                               taining the record to be deleted.
    recnum                     The record number of the record to be deleted.

    The isdelrec function sets the isrecnum pointer to recnum, and leaves the
    current record position unchanged.

    On success, isdelrec returns 0.  Otherwise, it returns -1 and sets
    iserrno to indicate the error.

 Example


       isdelrec(bookfd, isrecnum) ;


 See also

    isdelcurr(S), isdelete(S)

 Standards conformance

    isdelrec is not part of any currently supported standard; it is an exten-
    sion of AT&T System V provided by the Santa Cruz Operation.


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