As far as I know, "Documents" and all other directories under home are localization related, my question is: is it possible to get full path of "Documents" in C/C++ on Linux (Ubuntu)? Didn't find it in PATH
nor other env
.
I'm not looking for $HOME
, I'm looking for ${HOME}"Documents"
. For instance, it's "Documents" for English locale, but "文档" for Chinese, etc.
Thanks.