gnu%berkeley@sun.UUCP (10/18/83)
From: John Gilmore <sun!gnu@berkeley> In 4.2BSD, the library routine "getwd" does this, without any hokum with pipes. It's probably portable to older systems if you have the directory compatability package (readdir, opendir, etc) which has been posted to net.sources several times.
dbj.rice%rand-relay@sri-unix.UUCP (10/24/83)
From: Dave Johnson <dbj.rice@rand-relay> You don't need to port the "getwd" routine from 4.2bsd to 4.1 - it was there before 4.2 existed. The routine takes a (char *) address of a buffer to put the result in. Just link your program with the "-ljobs" flag to ld. Dave Johnson Dept. of Math Science Rice University dbj.rice@Rand-Relay