mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 11:20:15 +02:00
* commented statat for non freebsd, and fixed a typo.
This commit is contained in:
parent
ac6637276b
commit
43010ed471
@ -383,7 +383,7 @@ end;
|
||||
{$else}
|
||||
function __pipe_call(sysnr:TSysParam):TSysResult; {$ifdef cpui386}oldfpccall{$endif} external name 'FPC_DOSYS0';
|
||||
|
||||
{$if (defined (dragonfly) and (defined(CPUi386) or defined(CPUX86_64))}
|
||||
{$if defined (dragonfly) and (defined(CPUi386) or defined(CPUX86_64))}
|
||||
{$define PIPE_RESULT_IN_EAX_AND_EDX}
|
||||
{$endif}
|
||||
Function FPpipe(var fildes : tfildes):cint;
|
||||
|
@ -138,12 +138,13 @@ begin
|
||||
Fprename:=do_syscall(syscall_nr_rename,TSysParam(old),TSysParam(newpath));
|
||||
end;
|
||||
|
||||
{$ifdef freebsd}
|
||||
Function fpFstatat(fd: cint; path: pchar; var sb: stat; flag: cint):cint;
|
||||
|
||||
begin
|
||||
fpFStatat:=do_syscall(syscall_nr_fstatat,fd,TSysParam(path),TSysParam(@sb),flag);
|
||||
end;
|
||||
|
||||
{$endif}
|
||||
|
||||
function Fpstat(const path: pchar; var buf : stat):cint; [public, alias : 'FPC_SYSC_STAT'];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user