|
@@ -47,10 +47,6 @@ Type
|
|
TkDev = KDev_t; // kernel and glibc. This is kernel.
|
|
TkDev = KDev_t; // kernel and glibc. This is kernel.
|
|
pkDev = ^kdev_t;
|
|
pkDev = ^kdev_t;
|
|
|
|
|
|
- gid_t = cuint32; { used for group IDs }
|
|
|
|
- TGid = gid_t;
|
|
|
|
- pGid = ^gid_t;
|
|
|
|
-
|
|
|
|
ino_t = clong; { used for file serial numbers }
|
|
ino_t = clong; { used for file serial numbers }
|
|
TIno = ino_t;
|
|
TIno = ino_t;
|
|
pIno = ^ino_t;
|
|
pIno = ^ino_t;
|
|
@@ -79,7 +75,7 @@ Type
|
|
TOff = off_t;
|
|
TOff = off_t;
|
|
pOff = ^off_t;
|
|
pOff = ^off_t;
|
|
|
|
|
|
- pid_t = cint32; { used as process identifier }
|
|
|
|
|
|
+ pid_t = cint; { used as process identifier }
|
|
TPid = pid_t;
|
|
TPid = pid_t;
|
|
pPid = ^pid_t;
|
|
pPid = ^pid_t;
|
|
|
|
|
|
@@ -109,9 +105,20 @@ Type
|
|
wchar_t = widechar;
|
|
wchar_t = widechar;
|
|
pwchar_t = ^wchar_t;
|
|
pwchar_t = ^wchar_t;
|
|
|
|
|
|
- uid_t = cuint32; { used for user ID type }
|
|
|
|
|
|
+{$ifdef cpu64}
|
|
|
|
+ uid_t = cuint; { used for user ID type }
|
|
|
|
+ gid_t = cuint; { used for group IDs }
|
|
|
|
+ ipc_pid_t = cint;
|
|
|
|
+{$else cpu64}
|
|
|
|
+ uid_t = cushort; { used for user ID type }
|
|
|
|
+ gid_t = cushort; { used for group IDs }
|
|
|
|
+ ipc_pid_t = cushort;
|
|
|
|
+{$endif cpu64}
|
|
TUid = uid_t;
|
|
TUid = uid_t;
|
|
pUid = ^uid_t;
|
|
pUid = ^uid_t;
|
|
|
|
+ TGid = gid_t;
|
|
|
|
+ pGid = ^gid_t;
|
|
|
|
+
|
|
|
|
|
|
socklen_t= cuint32;
|
|
socklen_t= cuint32;
|
|
TSockLen = socklen_t;
|
|
TSockLen = socklen_t;
|