Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetsemclo()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETSEMCLO()
 Closes a semaphore
------------------------------------------------------------------------------
 Syntax

     NNETSEMCLO(<nHandle>,[<cServer>|<nConId>]) --> lSuccess

     Netware: 2.2 and 3.11

 Arguments

     <nHandle>  Designates the semaphore handle that is returned by
     NNETSEMOPN() when the semaphore is opened.

     <cServer>  Designates the name of the file server on which <nHandle>
     has been created.  Your workstation must be attached to <cServer>.

     <nConId>  Designates the connection ID for your workstation on
     <cServer>.

 Returns

     NNETSEMCLO() returns .T. if the semaphore specified by <nHandle> has
     been closed successfully.  If an error occurs (for example, if the
     handle is invalid), the function returns .F..

 Description

     NOVELL NET SEMAPHOR CLOSE
     NNETSEMCLO() allows you to close a semaphore that is no longer needed.
     The semaphore is specified by a handle.  If the closing workstation is
     the only workstation using the semaphore, the related file server
     removes the semaphore from its semaphore table.

 Example

     Open and close semaphore:

     nHandle=NNETSEMOPN("superacc")
     NNETSEMCLO(nHandle)

See Also: NNETSEMOPN()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson