mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 03:46:10 +02:00
* little fixes related to KQueue and Sendfile
git-svn-id: trunk@2529 -
This commit is contained in:
parent
4eb1f8d407
commit
1656cdc574
@ -18,6 +18,7 @@ Unit BSD;
|
|||||||
|
|
||||||
{$IFDEF FPC}
|
{$IFDEF FPC}
|
||||||
{$PACKRECORDS C}
|
{$PACKRECORDS C}
|
||||||
|
{$Inline On}
|
||||||
{$Macro On}
|
{$Macro On}
|
||||||
{$ifdef FPC_USE_LIBC}
|
{$ifdef FPC_USE_LIBC}
|
||||||
{$define directives:=cdecl; external 'c';}
|
{$define directives:=cdecl; external 'c';}
|
||||||
|
@ -282,6 +282,13 @@ Type
|
|||||||
end;
|
end;
|
||||||
PRLimit = ^TRLimit;
|
PRLimit = ^TRLimit;
|
||||||
|
|
||||||
|
iovec = record
|
||||||
|
iov_base : pointer;
|
||||||
|
iov_len : size_t;
|
||||||
|
end;
|
||||||
|
tiovec=iovec;
|
||||||
|
piovec=^tiovec;
|
||||||
|
|
||||||
CONST
|
CONST
|
||||||
{ Constansts for MMAP }
|
{ Constansts for MMAP }
|
||||||
MAP_PRIVATE =2;
|
MAP_PRIVATE =2;
|
||||||
|
Loading…
Reference in New Issue
Block a user