home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!hardy.u.washington.edu!zeno
- From: zeno@hardy.u.washington.edu (Sean T. Lamont)
- Newsgroups: comp.unix.wizards
- Subject: How does getwd() work?
- Message-ID: <1992Jul31.094134.5241@u.washington.edu>
- Date: 31 Jul 92 09:41:34 GMT
- Sender: news@u.washington.edu (USENET News System)
- Organization: Abstract Software
- Lines: 20
-
- I'm writing my own nfs server, and it's working fairly well, except for the
- fact that "getwd" only works in the root directory of the nfs partition.
- besides reporting it incorrectly as "/", subdirectories give me an error
- when calling getwd.
-
- Because of this I'm curious. how does unix implement getwd? What accounts
- for various errors when calling getwd? (I'm getting "read error in ..", when
- .. is perfectly readable.)
-
- Thanks. Please respond by email.
-
-
-
-
-
- --
- Sean T. Lamont, Abstract Software | "Don't oppress me, It's
- zeno@u.washington.edu | 'computer of color!' "
- Next Mail............................... | yang.cpac.washington.edu!zebu!zeno
- ----------------"My employers opinions are my own, not yours."-----------------
-