home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sun / misc / 5921 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.2 KB  |  35 lines

  1. Path: sparky!uunet!utcsri!sys.toronto.edu!jwang
  2. Newsgroups: comp.sys.sun.misc
  3. From: jwang@sys.toronto.edu (Jingwen Wang)
  4. Subject: Sun's yp interface calls
  5. Message-ID: <1992Dec18.191915.27944@jarvis.csri.toronto.edu>
  6. Organization: CSRI, University of Toronto
  7. Date: 19 Dec 92 00:19:16 GMT
  8. Lines: 25
  9.  
  10.    I tried to use the Sun yp_get_default_domain(), yp_match(), yp_all()
  11. calls in my program, but found it very difficult to simply get it compiled
  12. through. The total code is only 20 lines. Why is it so difficult? Because
  13. I simply don't know what header files should be included, and there is
  14. no where in the man pages mentioning what should be included. I tried 
  15. to include all relevant header files in /usr/include/rpcsvc and many
  16. header files in /usr/include/netinet and /usr/include/sys, but had no 
  17. luck. 
  18.  
  19.    Could someone help me please? This is the first time I found Sun's
  20. software product is terrible.
  21.  
  22. Thanks.
  23.  
  24.  
  25. -- 
  26.   {}
  27. {}(){} -----> Jingwen Wang, Univ. of Toronto       (416)-978-1675 (office)
  28.   {}          jwang@sys.toronto.edu                1-800-ASK-wang (home)
  29.  
  30. --
  31.   {}
  32. {}(){} -----> Jingwen Wang, Univ. of Toronto       (416)-978-1675 (office)
  33.   {}          jwang@sys.toronto.edu                1-800-ASK-wang (home)
  34.  
  35.