home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!utcsri!sys.toronto.edu!jwang
- Newsgroups: comp.sys.sun.misc
- From: jwang@sys.toronto.edu (Jingwen Wang)
- Subject: Sun's yp interface calls
- Message-ID: <1992Dec18.191915.27944@jarvis.csri.toronto.edu>
- Organization: CSRI, University of Toronto
- Date: 19 Dec 92 00:19:16 GMT
- Lines: 25
-
- I tried to use the Sun yp_get_default_domain(), yp_match(), yp_all()
- calls in my program, but found it very difficult to simply get it compiled
- through. The total code is only 20 lines. Why is it so difficult? Because
- I simply don't know what header files should be included, and there is
- no where in the man pages mentioning what should be included. I tried
- to include all relevant header files in /usr/include/rpcsvc and many
- header files in /usr/include/netinet and /usr/include/sys, but had no
- luck.
-
- Could someone help me please? This is the first time I found Sun's
- software product is terrible.
-
- Thanks.
-
-
- --
- {}
- {}(){} -----> Jingwen Wang, Univ. of Toronto (416)-978-1675 (office)
- {} jwang@sys.toronto.edu 1-800-ASK-wang (home)
-
- --
- {}
- {}(){} -----> Jingwen Wang, Univ. of Toronto (416)-978-1675 (office)
- {} jwang@sys.toronto.edu 1-800-ASK-wang (home)
-
-