Re: How to determine user name from within C++ on linux
- From: Spoon <root@xxxxxxxxx>
- Date: Fri, 05 May 2006 15:06:21 +0200
consultmac2 wrote:
How does one capture the logged-on user name from within c++ so we
can do that?
man whoami
man geteuid + man getpwuid
.
- References:
- How to determine user name from within C++ on linux
- From: consultmac2
- How to determine user name from within C++ on linux
- Prev by Date: How to determine user name from within C++ on linux
- Next by Date: Re: How to determine user name from within C++ on linux
- Previous by thread: How to determine user name from within C++ on linux
- Next by thread: Re: How to determine user name from within C++ on linux
- Index(es):