[fpc-pascal] Get user ID for name on Linux

Marco van de Voort marcov at stack.nl
Wed Jan 3 01:41:54 CET 2018

In our previous episode, Tobias Giesen said:
> I would like to get the user ID for a Linux user name.
> Unfortunately Libc and UnixUtils don't seem to be available in 64-bit, so I can't call the
> functions getpwnam or GetUserId. Is there a replacement? Or could I define and 
> import the function myself? 

Try the units in package users (packages/users in the sources)

More information about the fpc-pascal mailing list