Previous section.

Resource ReSerVation Protocol API (RAPI)
Copyright © 1998 The Open Group

NAME

rapi_release - remove a session

SYNOPSIS

#include <rapi.h>

int rapi_release (rapi_sid_t Sid)


DESCRIPTION

The rapi_release() call removes the reservation, if any, and the state corresponding to a given session handle. This call will be made implicitly if the application terminates without closing its RSVP sessions.

PARAMETERS

Sid

This parameter must be a session ID returned by a successful rapi_session() call.

RESULT

If the session handle is invalid, the call returns a corresponding RAPI error code; otherwise, it returns zero.

Contents Next section Index