sl_close subroutine

Purpose

Disassociate a signaling process from the signaling interface.

Library

The signaling interface library (libsl.a).

C syntax

#include <slsigpr.h>
...
SL_RET_CODE	       sl_close (
     SL_HANDLE  	  sl_handle
);

Description

This subroutine must be issued by a signaling process when it has finished processing, to close the signaling interface. The process must provide the signaling handle that was returned when it opened the signaling interface. Once the signaling interface is closed, the signaling handle is no longer valid, and the signaling interface subroutines that require a handle cannot be called.

Parameters

sl_handle
The signaling handle returned by the sl_open() subroutine.

Return values

SLRC_OK
Successful.
SLRC_INVALID_HANDLE
Invalid sl_handle.

Related information