[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FT_NWSEMCLOSE()
 Close a NetWare semaphore
------------------------------------------------------------------------------

 Syntax

      FT_NWSEMCLOSE( <nHandle> )  -> nRc

 Arguments

     <nHandle> is the semaphore handle, returned from a previous call
     to FT_NWSEMOPEN().

 Returns

     nRc, a numeric, as follows:

            0 - success
          255 - invalid semaphore handle

 Description

     Call FT_NWSEMCLOSE() when the app is finished.  This decrements
     the open count for the semaphore.  If the open count hits zero,
     the semaphore is deleted by NetWare.

 Examples

     QOUT( "Close returns:  " + STR( FT_NWSEMCLOSE( nHandle ) ) )

 Source: NWSEM.PRG

 Author: Glenn Scott

See Also: FT_NWSEMOPEN() FT_NWSEMEX() FT_NWSEMWAIT() FT_NWSEMSIG() FT_NWSEMLOCK()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson