Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ isrelease(S) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

isread(S)

islock(S)


 isrelease(S)                   6 January 1993                   isrelease(S)


 Name

    isrelease - unlocks all manually locked records in a file

 Syntax


    cc  . . .  -lisam


    isrelease(isfd)
    int isfd;


 Description

    The isrelease function is used to unlock all records that have been manu-
    ally locked in a file.  You can use the following argument with this rou-
    tine:


    _________________________________________________________________________
    Argument                         Description
    _________________________________________________________________________
    isfd                             File descriptor identifying the ISAM
                                     file whose records are being unlocked.

    A record is manually locked when:

    +  The data file was opened with a mode parameter that included ISMANU-
       LOCK, and

    +  The isread function call that read the record included ISLOCK in its
       mode parameter.

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

 Example


       isrelease( bookfd ) ;


 See also

    isread(S), islock(S)

 Standards conformance

    isrelease 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