Path: utzoo!attcan!uunet!know!samsung!cs.utexas.edu!rutgers!njin!princeton!phoenix.Princeton.EDU From: pfalstad@phoenix.Princeton.EDU (Paul John Falstad) Newsgroups: comp.unix.questions Subject: /bin/pwd Message-ID: <2488@idunno.Princeton.EDU> Date: 13 Sep 90 19:31:13 GMT Sender: news@idunno.Princeton.EDU Organization: Princeton University, Princeton, New Jersey Lines: 6 Can anyone tell me how /bin/pwd works? I thought it was a trivial program until I tried to write my own without getcwd(3). getcwd is not a system call, so it must be possible. The way I think it works is quite complicated, so I thought there would be an easier way. David Hemmings appeared by permission of the National Forestry Commission.