char *getlogin();



----------
> From: Derek Simkowiak <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: RE: [expert] Determining current user in C
> Date: Wednesday, December 15, 1999 5:14 AM
> 
> > 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
> 

Reply via email to