I am starting to do some C coding after a break for a year or two. I have already forgotten a really simple thing.
Can anyone remind me how to get the current directory from unix.
ie. essentially i need to get the value of pwd into a string from my c code.
I'd appreciate any help!