[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FN_SEMCLOS()
 Close a semaphore
------------------------------------------------------------------------------
 Syntax
 
      fn_semClos( <nHandle> )  -> nRc
 
 Arguments

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

 Returns

     nRc, a numeric, as follows:

            0 - success
          255 - invalid semaphore handle

 Description

     Call fn_semClos() 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: N:\SRC\SYNCHRO\SEMA.PRG

 Author: Glenn Scott

See Also: FN_SEMOPEN() FN_SEMEX() FN_SEMWAIT() FN_SEMSIG()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson