LinuxQuestions.org
(
/questions/
)
-
Programming
(
https://www.linuxquestions.org/questions/programming-9/
)
- -
C function that returns $HOME
(
https://www.linuxquestions.org/questions/programming-9/c-function-that-returns-%24home-289446/
)
cbranje
02-12-2005 05:17 PM
C function that returns $HOME
Is there a function in C that will give me the home directory of the current user.
Thanks
Carmen
itsme86
02-12-2005 05:41 PM
getenv("HOME");
All times are GMT -5. The time now is
09:43 PM
.