Where does svc_getcaller live in Solaris 2.2 ?

Where does svc_getcaller live in Solaris 2.2 ?

Post by Rob McMah » Fri, 24 Sep 1993 19:42:50



I've a program which uses svc_getcaller() which I want to compile under
Solaris 2.2.  There is still a manual page for this routine, although it is
marked as superseded, but I'm damned if I can find the routine in any of the
libraries (my normal `nm -o /usr/lib/lib*.a /usr/ccs/lib/lib*.a | fgrep ...'
didn't get me anywhere).  I don't really want to get into `struct netbuf's if
I can help it, although I suppose if someone were to tell me I could just do
`sinp = (struct sockaddr_in *)netbufp->buf', then I might.

Cheers,

Rob
--
UUCP:   ...!mcsun!uknet!warwick!cudcv   PHONE:  +44 203 523037

Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England

 
 
 

Where does svc_getcaller live in Solaris 2.2 ?

Post by Rob McMah » Fri, 24 Sep 1993 20:21:50


Sigh.  There's nothing quite like following up your own posting with the
answer, is there.  svc_getcaller() isn't a routine at all, it's a #define in
<rpc/svc.h>, but in Solaris 2 it appears to be #ifdef _KERNEL, presumably to
put you off using it.

Cheers,

Rob
--
UUCP:   ...!mcsun!uknet!warwick!cudcv   PHONE:  +44 203 523037

Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England