[fpc-devel] the libc unit on 64-bit systems
    peter green 
    plugwash at p10link.net
       
    Fri Feb  1 19:23:19 CET 2008
    
    
  
> All I really use 'libc' for is to retrieve the user name and group
> name from the user and group id's of files.  As I said, it's not
> critical, I can always display the id's only.  Or maybe parse the
> /etc/groups and /etc/passwd files to get the names, but I heard that's
> not very accurate for some reason.
>   
Really the only reliable way to get that information is to link with 
libc. Reading the files in /etc will work on a basic system but will 
fail if an alternate authentication system is in use.
    
    
More information about the fpc-devel
mailing list