> > I am new on maillist. I have got a question. A cannot find function called > setuid() like in c++.
> In the source of compiler/units a have found a section > where the linux like function declared. There is a contant called > "syscall_nr_setuid", but it is NOT used in any function. A can declare a > setuid function but i do not know which registers are user int this > function. First argument in reg2 and so on. (for linux), e.g. type uid_t=longint; Function Sys_SetUid(uid:uid_t); var regs : SysCallregs; begin regs.reg2:=uid; Sys_setuid:=SysCall(SysCall_nr_setuid,regs); end; _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal