*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> rapi_getfd (3)              
Title
Content
Arch
Section
 

rapi_getfd(3)

Contents


NAME    [Toc]    [Back]

       rapi_getfd  -  Get  the  file  descriptor for the Resource
       ReSerVation Protocol (RSVP) daemon's socket

SYNOPSIS    [Toc]    [Back]

       #include <rapi.h>

       int rapi_getfd(
               rapi_sid_t Sid );

LIBRARY    [Toc]    [Back]

       RAPI Library (librsvp.so, librsvp.a)

PARAMETERS    [Toc]    [Back]

       Specifies the session handle that was returned by  a  successful
 call to the rapi_session() routine.

DESCRIPTION    [Toc]    [Back]

       The rapi_getfd() routine obtains the file descriptor associated
 with the UNIX socket connected to the RSVP  daemon,
       rsvpd. An application typically calls this routine after a
       call to the rapi_session() routine has completed  successfully
  and  before  a  call to the rapi_release() routine.
       When a socket read event is signaled on this file descriptor,
  the application should call the rapi_dispatch() routine.


       A call to the rapi_getfd() routine for different RAPI sessions
 might return the same file descriptor.

RETURN VALUES    [Toc]    [Back]

       Upon   successful  completion,  the  rapi_getfd()  routine
       returns the file descriptor.  If  the  session  handle  is
       illegal or undefined, the routine returns a value of -1.

SEE ALSO    [Toc]    [Back]

      
      
       Functions:      rapi_dispatch(3),     rapi_event_rtn_t(3),
       rapi_release(3),     rapi_reserve(3),      rapi_sender(3),
       rapi_session(3), rapi_strerror(3), rapi_version(3).

       Network: RSVP(7).

       Network Programmer's Guide



                                                    rapi_getfd(3)
[ Back ]
 Similar pages
Name OS Title
rsvpd Tru64 Resource ReSerVation Protocol (RSVP) daemon
rapi_reserve Tru64 Make, modify, or delete a Resource ReSerVation Protocol (RSVP) session reservation
rapi_release Tru64 Remove a Resource ReSerVation Protocol (RSVP) API session
rapi_session Tru64 Create an Resource ReSerVation Protocol (RSVP) API session
rapi_dispatch Tru64 Dispatch an Resource ReSerVation Protocol (RSVP) API event
rapi_sender Tru64 Specify Resource ReSerVation Protocol (RSVP) API sender parameters
rapi_event_rtn_t Tru64 Execute an Resource ReSerVation Protocol (RSVP) API upcall routine
rapi_version Tru64 Obtain the current Resource ReSerVation Protocol (RSVP) API version
RSVP Tru64 Resource ReSerVation Protocol general information
rsvp Tru64 Resource ReSerVation Protocol general information
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service