Many thanks i found the function GetEUID i'll try it

http://www.cs.uwc.ac.za/~firstyear/manuals/doc/units/unitsse36.html#x53-41900012.3


Pete Cervasio a écrit :
On Wednesday 11 October 2006 20:44, Michalis Kamburelis wrote:
Pete Cervasio wrote:
The better way would be to use the geteuid function in the libc unit,
It would be even better to use FpGetEUid function from the BaseUnix
unit. See
[http://www.freepascal.org/docs-html/rtl/baseunix/fpgeteuid.html].

DOH! Thanks for reminding me, Michalis. I always forget about seeing if a function is already in the RTL when doing things that I know are standard C library functions. Force of habit is my (bad) excuse. :)

Best regards,
Pete C.


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


--

David Touzeau -------------------------- Linux Ubuntu Dapper 6.0.6 FreePascal-Lazarus,perl,delphi,php icq:160018849

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to