How can I get the "current work dir" using C function?
I mean to get the information as the echo of command "pwd"
thanks!! |
i don't really understand the question. do you want to know the working directory without having to type "pwd"? i mean do you want it to just be displayed like this:
/home/user> |
Moved: This thread is more suitable in Programming and has been moved accordingly to help your thread/question get the exposure it deserves.
|
Code:
man getcwd |
yes
|
thanks!!
|
All times are GMT -5. The time now is 07:23 AM. |