delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/03/16:13:33

From: noer AT cygnus DOT com (Geoffrey Noer)
Subject: Re: getpwuid
3 May 1997 16:13:33 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199705032028.NAA22625.cygnus.gnu-win32@rtl.cygnus.com>
Original-To: bje AT air DOT net DOT au (Ben Elliston)
Original-Cc: gnu-win32 AT cygnus DOT com
In-Reply-To: <Pine.LNX.3.95.970503203000.1883A-100000@mailhub.air.net.au> from "Ben Elliston" at May 3, 97 08:31:27 pm
X-Mailer: ELM [version 2.4 PL23]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

> 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?

In beta 18 we add:

Under NT only, chown(), getgrgid(), getgrnam(), endgrent(), getgrent(),
setpwend(), getpwent(), endpwent().  Win95 still has these as stubs.

You will need to make an /etc/passwd and /etc/group for some
calls to work.  That said, we provide a mkpasswd and mkgroup that
create valid /etc files from the NT user database.

It also looks like getpwuid will work in beta 18 so you may be in luck.

I expect b18 will be out this coming week, perhaps on Tues/Wed?

-- 
Geoffrey Noer
noer AT cygnus DOT com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019