Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!seismo!hao!hplabs!sri-unix!dbj.rice@rand-relay From: dbj.rice%rand-relay@sri-unix.UUCP Newsgroups: net.unix Subject: Re: Doing "pwd" within a program Message-ID: <12940@sri-arpa.UUCP> Date: Mon, 24-Oct-83 13:16:19 EDT Article-I.D.: sri-arpa.12940 Posted: Mon Oct 24 13:16:19 1983 Date-Received: Thu, 27-Oct-83 20:07:05 EDT Lines: 10 From: Dave Johnson 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