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

Tobias Giesen tobiasgiesen at gmail.com
Wed Jan 3 01:12:30 CET 2018


Hello,

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? 

Thanks for any help!

Cheers,
Tobias





More information about the fpc-pascal mailing list