This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: What should I do to use cuserid() ?
- To: glibc-linux@ricardo.ecn.wfu.edu
- Subject: Re: What should I do to use cuserid() ?
- From: Dale Harris <rodmur@maybe.org>
- Date: Tue, 1 Jun 1999 10:55:18 -0600
- References: <37540765.EA92B65E@originalsim.com>
- Reply-To: glibc-linux@ricardo.ecn.wfu.edu
On Tue, Jun 01, 1999 at 12:16:38PM -0400, Jean Pierre Belanger elucidated:
> Hi!
>
> I have glibc-devel-2.1.1-6 freshly installed from RedHat 6.0 CD.
>
> I can no longer use cuserid() like before...
>
> What should I use/include/define instead ?
>
Probably just use getlogin().
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dale Harris <rodmur@maybe.org> GPG key: 372FBD57 http://www.maybe.org/
"I'd rather have this bottle in front of me, than a frontal lobotomy."