mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 09:28:19 +02:00
* use wait4 instead of waitpid on arm
This commit is contained in:
parent
1bea0eb838
commit
f621c564a2
@ -278,7 +278,11 @@ function Fpwaitpid(pid : pid_t; stat_loc : pcint; options: cint): pid_t; [public
|
||||
}
|
||||
|
||||
begin
|
||||
{$ifdef CPUARM}
|
||||
FpWaitPID:=do_syscall(syscall_nr_Wait4,PID,TSysParam(Stat_loc),options,0);
|
||||
{$else CPUARM}
|
||||
FpWaitPID:=do_syscall(syscall_nr_WaitPID,PID,TSysParam(Stat_loc),options);
|
||||
{$endif CPUARM}
|
||||
end;
|
||||
|
||||
function Fpaccess(pathname : pchar; amode : cint): cint; [public, alias : 'FPC_SYSC_ACCESS'];
|
||||
@ -471,7 +475,10 @@ end;
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.13 2004-01-23 00:00:06 florian
|
||||
Revision 1.14 2004-01-31 16:25:48 florian
|
||||
* use wait4 instead of waitpid on arm
|
||||
|
||||
Revision 1.13 2004/01/23 00:00:06 florian
|
||||
* arm requires oldmmap call as well
|
||||
|
||||
Revision 1.12 2003/12/30 16:26:10 marco
|
||||
@ -516,4 +523,4 @@ end;
|
||||
* The syscall core of the new system unit.
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user