getcwd/1

getcwd(- D)*

Unify the current directory, represented as an atom, with the argument D.