Re: [OFF-TOPIC] Current Directory Mar 05, 2000 at 11:07:10AM +1000

From: Oleg V. Volkov (cm_rover@lglobus.ru)
Date: 03/04/00


On Sun, Mar 05, 2000 at 11:07:10AM +1000, Julian Buckley wrote:
> > Just a quick question.  Is there any way to find out what directory
> > your program is currently running in?
> sprintf(buf, "cd > currdir.tmp");
> system(buf);

man 3 getcwd

--
Oleg V. Volkov aka Rover                                      EH: LCM Rover
Join Elite Imperial Fleet!                    http://www.emperorshammer.org
E-mail redirector: sr-13@mail.ru (always up)                  -=/ SR 13 /=-


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT