> use getuid and then look that up in the /etc/passwd file. Not hard if you
> know what you're doing.
Unless the system is using shadowed passwords.
Is there no system call for this?
--Derek
- [expert] Determining current user in C Ivan J. Wagner
- RE: [expert] Determining current user in C Ian Douglas
- RE: [expert] Determining current user in C Derek Simkowiak
- RE: [expert] Determining current user in C Ian Douglas
- RE: [expert] Determining current user in C Davor Cengija
- Re: [expert] Determining current user in C Fabien Deschodt
- Re: [expert] Determining current user in ... Derek Simkowiak
- Re: [expert] Determining current user in ... Ivan J. Wagner
- RE: [expert] Determining current user in C Alex V Flinsch
- Re: [expert] Determining current user in C Christopher Cox
