Seemanto Barua wrote:

> Hi Gisle,
> 
> I tried truss. The manual says getprotobyname should search in the
> file /etc/protocols. The following line of output from truss indicates
> its looking for the file through NIS ???
> 
> open("/etc/nsswitch.conf", O_RDONLY)            = 3

Most NIX's give you a choice of files, NIS, NIS+, YP, DNS etc. and
allow you to specify the order to search.

-- 
  ,-/-  __      _  _         $Bill Luebkert    Mailto:[EMAIL PROTECTED]
 (_/   /  )    // //       DBE Collectibles    Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_    http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to