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