home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / wizards / 3370 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.2 KB

  1. Path: sparky!uunet!usc!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!hardy.u.washington.edu!zeno
  2. From: zeno@hardy.u.washington.edu (Sean T. Lamont)
  3. Newsgroups: comp.unix.wizards
  4. Subject: How does getwd() work?
  5. Message-ID: <1992Jul31.094134.5241@u.washington.edu>
  6. Date: 31 Jul 92 09:41:34 GMT
  7. Sender: news@u.washington.edu (USENET News System)
  8. Organization: Abstract Software
  9. Lines: 20
  10.  
  11. I'm writing my own nfs server, and it's working fairly well, except for the
  12. fact that "getwd" only works in the root directory of the nfs partition.
  13. besides reporting it incorrectly as "/", subdirectories give me an error
  14. when calling getwd.
  15.  
  16. Because of this I'm curious.  how does unix implement getwd?  What accounts
  17. for various errors when calling getwd? (I'm getting "read error in ..", when
  18. .. is perfectly readable.)
  19.  
  20. Thanks.  Please respond by email.
  21.  
  22.  
  23.  
  24.  
  25.  
  26. -- 
  27. Sean T. Lamont, Abstract Software        |   "Don't oppress me, It's
  28. zeno@u.washington.edu                    |    'computer of color!' "
  29. Next Mail............................... |  yang.cpac.washington.edu!zebu!zeno 
  30. ----------------"My employers opinions are my own, not yours."-----------------
  31.