FT_NWSEMCLOSE

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()

5 responses to “FT_NWSEMCLOSE

  1. Pingback: FT_NWSEMWAIT | Viva Clipper !

  2. Pingback: FT_NWSEMSIG | Viva Clipper !

  3. Pingback: FT_NWSEMOPEN | Viva Clipper !

  4. Pingback: FT_NWSEMEX | Viva Clipper !

  5. Pingback: FT NetWare | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.