Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ isunlock(S) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

isclose(S)

islock(S)

isopen(S)


 isunlock(S)                    6 January 1993                    isunlock(S)


 Name

    isunlock - unlock an ISAM file

 Syntax


    cc  . . .  -lisam


    isunlock (isfd)
    int isfd;


 Description

    The isunlock function unlocks a file that was locked with islock.  (The
    file must have been opened using the ISMANULOCK value of the mode parame-
    ter in isopen or isbuild.)

    You can use the following argument with this routine:


    _________________________________________________________________________
    Argument        Description
    _________________________________________________________________________
    isfd            File descriptor identifying the ISAM file to be unlocked.

    On success, isunlock returns 0.  Otherwise, it returns -1 and the error
    is set to iserrno.  Once you use isunlock, other processes may read and
    write into the file.

 Example


       isunlock( bookfd ) ;


 See also

    isclose(S), islock(S), isopen(S)

 Standards conformance

    isunlock 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