2
$Id: ostypes.inc,v 1.8 2004/02/06 23:06:16 florian Exp $
3
This file is part of the Free Pascal run time library.
4
Copyright (c) 1999-2000 by Michael Van Canneyt,
5
member of the Free Pascal development team.
7
OS dependant types internal to the Linux RTL.
9
See the file COPYING.FPC, included in this distribution,
10
for details about the copyright.
12
This program is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
**********************************************************************}
21
Linux system calls take arguments as follows :
24
%eax %d0 r0 System call number
25
%ebx %d1 r3 first argument
26
%ecx %d2 r4 second argument
27
%edx %d3 r5 third argumens
28
%esi %d3 r6 fourth argument
29
%edi %d4 r7 fifth argument
32
timezone = packed record
33
minuteswest,dsttime:longint;
38
Const // generated by statmacr.c
39
S_IFMT = 61440; { type of file mask}
40
S_IFIFO = 4096; { named pipe (fifo)}
41
S_IFCHR = 8192; { character special}
42
S_IFDIR = 16384; { directory }
43
S_IFBLK = 24576; { block special}
44
S_IFREG = 32768; { regular }
45
S_IFLNK = 40960; { symbolic link }
46
S_IFSOCK= 49152; { socket }
50
Revision 1.8 2004/02/06 23:06:16 florian
53
Revision 1.7 2004/02/06 21:17:41 daniel
54
* Revert back to longint (it broke make cycle)
56
Revision 1.6 2004/02/06 15:58:21 florian
57
* fixed x86-64 assembler problems
59
Revision 1.5 2003/09/27 13:45:58 peter
60
* fpnanosleep exported in baseunix
61
* fpnanosleep has pointer arguments to be C compliant
63
Revision 1.4 2003/09/17 11:24:46 marco
64
* fixes for new macro's
66
Revision 1.3 2003/09/14 20:15:01 marco
67
* Unix reform stage two. Remove all calls from Unix that exist in Baseunix.
69
Revision 1.2 2002/12/18 16:43:26 marco
70
* new unix rtl, linux part.....
72
Revision 1.1 2002/11/12 14:37:59 marco
73
* Parts of new unix rtl