#include <rapi.h> int rapi_release( rapi_sid_t SessID )
The rapi_release() API releases the RAPI reservation that is active currently and closes the open sessions. This call is made implicitly if the application terminates without closing its RSVP sessions.
None.
Returns 0 if successful.
Returns a RAPI error code if not successful.
The session ID passed to the API did not correspond to a valid RAPI session.
The RSVP server was not detected. Make sure the server has been started.>
For a description of the RSVP protocol, see RFC 2205 on the RFC Pages.
Complete documentation of the RAPI APIs can be found at The Open Group.