mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-26 21:11:46 +01:00
* a few type aliases added, capitalisation fixed
git-svn-id: trunk@2756 -
This commit is contained in:
parent
8d2dd005c7
commit
a0573f1015
@ -62,19 +62,22 @@ Const
|
|||||||
type
|
type
|
||||||
TCloneFunc=function(args:pointer):longint;cdecl;
|
TCloneFunc=function(args:pointer):longint;cdecl;
|
||||||
|
|
||||||
epoll_data = record
|
EPoll_Data = Record
|
||||||
case integer of
|
case integer of
|
||||||
0: (ptr: pointer);
|
0: (ptr: pointer);
|
||||||
1: (fd: cint);
|
1: (fd: cint);
|
||||||
2: (u32: cuint);
|
2: (u32: cuint);
|
||||||
3: (u64: cuint64);
|
3: (u64: cuint64);
|
||||||
end;
|
end;
|
||||||
|
TEPoll_Data = Epoll_Data;
|
||||||
|
PEPoll_Data = ^Epoll_Data;
|
||||||
|
|
||||||
pepoll_event = ^epoll_event;
|
EPoll_Event = Record
|
||||||
epoll_event = record
|
Events: cuint32;
|
||||||
events: cuint32;
|
Data : TEpoll_Data;
|
||||||
data: epoll_data;
|
|
||||||
end;
|
end;
|
||||||
|
TEPoll_Event = Epoll_Event;
|
||||||
|
PEpoll_Event = ^Epoll_Event;
|
||||||
|
|
||||||
function Clone(func:TCloneFunc;sp:pointer;flags:longint;args:pointer):longint; {$ifdef FPC_USE_LIBC} cdecl; external name 'clone'; {$endif}
|
function Clone(func:TCloneFunc;sp:pointer;flags:longint;args:pointer):longint; {$ifdef FPC_USE_LIBC} cdecl; external name 'clone'; {$endif}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user