• Advertisement
Sign in to follow this  

Getting current Directory name

This topic is 4611 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, Im doing a project at Uni right now that involves linux system calls, which, being mostly a windows person, I am having a bit of trouble with. What I want to do is find out what the current working directory is so that I can display it on the screen. Is this possible? how would one do it? Where should I look for guidence? Ive looked at some of the man pages, but couldn't find any that helped me out. cheers in advance for anything useful

Share this post


Link to post
Share on other sites
Advertisement
thanks very much, not only for the answer, but for the timeliness :) Im using c++, which I probably should of mentioned, so this should work nicely :)

Thanks again

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement