Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!gatech!mcnc!duke!romeo!pusateri From: pusateri@romeo.cs.duke.edu (Thomas J. Pusateri) Newsgroups: comp.sys.att Subject: sysv equivilant to getwd() Keywords: sysv getwd Message-ID: <15005@duke.cs.duke.edu> Date: 17 Jul 89 20:10:24 GMT Sender: news@duke.cs.duke.edu Distribution: usa Lines: 14 I am in need of getting the full pathname of the current working directory. In SUN OS (BSD) there is a call getwd() that when passed a buffer, returns that buffer with the current directory. Is there a work around for SYSTEM V? Is the PWD environment variable standard on all SYSTEM V machines under bourne shell and korn shell? Could I just do a getenv() on PWD? Thanks for any info. Tom Pusateri National Biomedical Simulation Resource Duke University Medical Center pusateri@nbsr.mc.duke.edu