|
@@ -58,7 +58,7 @@ type
|
|
|
TFdSet = __fd_set;
|
|
|
PFdSet = ^TFdSet;
|
|
|
|
|
|
-
|
|
|
+
|
|
|
type
|
|
|
__key_t = longint;
|
|
|
__ipc_pid_t = word;
|
|
@@ -75,7 +75,8 @@ type
|
|
|
__t_uscalar_t = dword;
|
|
|
__intptr_t = longint;
|
|
|
__socklen_t = dword;
|
|
|
-
|
|
|
+ TFileDescriptor = integer;
|
|
|
+
|
|
|
{ ---------------------------------------------------------------------
|
|
|
'h2pas -S -c -D -l libc -i' from sys/types.h
|
|
|
---------------------------------------------------------------------}
|
|
@@ -210,5 +211,13 @@ Type
|
|
|
P__timer_t = ^__timer_t;
|
|
|
|
|
|
|
|
|
-{ fd_set for select and pselect. }
|
|
|
+{ Macros }
|
|
|
+Function __FDELT(d: longint): Integer;
|
|
|
+Function __FDMASK(d: longint): __fd_mask;
|
|
|
+
|
|
|
+{ Borland compatibility }
|
|
|
+Type
|
|
|
|
|
|
+ TFsID = __fsid_t;
|
|
|
+ PFsID = ^TFsID;
|
|
|
+
|