[fpc-pascal] How to detect if my program is running with root/elevated privileges?

Bart bartjunk64 at gmail.com
Sun Oct 27 23:54:06 CET 2013


On 10/27/13, Marco van de Voort <marcov at stack.nl> wrote:

> For windows there is winutils.iswindowsadmin(), for unix likes there is
> fpgeteuid (which should return zero for root).

Thanks a lot.

Bart



More information about the fpc-pascal mailing list