Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ isclose(S) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

isbuild(S)

isopen(S)


 isclose(S)                     6 January 1993                     isclose(S)


 Name

    isclose - close an ISAM file

 Syntax


    cc  . . .  -lisam


    isclose (isfd)
    int isfd;


 Description

    The isclose function closes an ISAM file that was opened with isopen or
    isbuild.  You can use the following argument with this routine:

    _________________________________________________________________________


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

    All locks on the file are released when it is closed.

 Note

    ISAM files must be closed when you are through with them.  Not doing so
    may corrupt files in certain environments.

 Return Value

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

 Example


       isclose(bookfd) ;


 See also

    isbuild(S), isopen(S)

 Standards conformance

    isclose 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