Tag Archives: userdir
Expanding a leading tilde in C/C++
If you’re writing an app that accepts a path to a filename as user-input or in config-files, you’ll have to be able to parse the famous leading tilde and expand it to the correct home directory of the correct user. … Continue reading