linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* should I use, getcwd() or *environ ?
@ 2005-03-04 21:23 J.
  2005-03-05 10:48 ` Rechberger Markus
  2005-03-05 11:12 ` Steve Graegert
  0 siblings, 2 replies; 5+ messages in thread
From: J. @ 2005-03-04 21:23 UTC (permalink / raw)
  To: linux-c-programming

Friday, March 04 22:18:42

Hello,

I have to remember the working directory and save it in my program so that
I can return to it later.. 

Which one is better/safer and why ? The environment var's or the
getcwd() function fam... ?

Thankx.. a lot..

J.

--
http://www.rdrs.net/


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-03-06 10:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-04 21:23 should I use, getcwd() or *environ ? J.
2005-03-05 10:48 ` Rechberger Markus
2005-03-05 11:12 ` Steve Graegert
2005-03-05 12:55   ` J.
2005-03-06 10:19   ` Glynn Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).