
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Nanforum Toolkit v2.1 Reference Guide - <b>ft_nwsemclose()</b>
[<<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()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson