[fpc-pascal]SetUid; PARANOIA

Marco van de Voort marcov at stack.nl
Fri Jan 24 15:27:15 CET 2003


> On Fri, 24 Jan 2003, Anton Tichawa wrote:
> 
> >   Regs.Reg2 := UID;
> >   SetUID := SysCall(SysCall_nr_getuid, Regs);
> > end;
> > //...
> >
> > written by me some months ago.
> >
> > a question to the fpc development team: i'm slowly getting paranoid, because
> > access to hw, i/o and system seems to vanish as the years pass. what is the
> > exact reason that setuid has not been implemented or wrapped in fpc?
> 
> No particular reason. It wasn't needed at the time of the linux port
> It is (or should be) implemented in the new 1.1 series.

It is, unit baseunix (which also works for *BSD).




More information about the fpc-pascal mailing list