This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: getpwuid
- To: Ben Elliston <bje at air dot net dot au>
- Subject: Re: getpwuid
- From: aspa <masplund at cs dot Helsinki dot FI>
- Date: Sun, 4 May 1997 13:41:17 +0300 (EET DST)
- cc: gnu-win32 at cygnus dot com
- Reply-To: aspa at iki dot fi
On Sat, 3 May 1997, Ben Elliston wrote:
> Does anyone know what the state of the implementation of getpwuid is? Is
> it possible to have the structure filled in by this function completed
> using details from the NT user database?
>
> I have some code which seems to be getting (null) when doing:
>
> getpwuid(geteuid())
>
> Any ideas?
i recall successfully using getpwuid() in b17.1. for the above example to
work, you have to have a /etc/passwd entry for the euid running the code.
--
aspa
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".