[Lazarus] Supported Lazarus platforms
Graeme Geldenhuys
graemeg.lists at gmail.com
Fri Feb 22 11:44:35 CET 2008
On 22/02/2008, Marco van de Voort <marcov at stack.nl> wrote:
>
> Like? Note that the password stuff is now in both 2.2.1 and 2.3.x in the
> "users" package.
getgrgid() - Used for getting the Group ID Name from the Group ID.
getpwuid() - Used for getting the User Name from the User ID.
Both of these are used in a FileGrid component (eg: File Open Dialog)
to display a files User and Group names like graemeg:users instead
of 5000:3000
My work-around for FreeBSD is to display the numeric values only. I'm
thinking of looking up the values manually in /etc/groups and
/etc/passwd but was told it can be inaccurate.
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the Lazarus
mailing list