Re: c question
- From: Adrian Hosey <ahosey snowcrash kiva net>
- To: gnome-list gnome org
- Subject: Re: c question
- Date: Fri, 4 Jun 1999 17:03:12 -0500
: > From: "Fox, Kevin M" <KMFox@mail.bhi-erc.com>
: >
: > Is there a function in c to return the path to the current users home
: > directory?
:
: man getenv
:
: the environment variable you want is HOME
:
: Dave
Or use getpwnam/getpwuid, if it's something for which you can't or
won't trust the environment variables.
- A
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]