Initial revision
[AROS-Contrib.git] / development / compilers / freepascal / rtl / freebsd / sysbsd.pp
bloba7c33e3c54760e4eb37732891c4c05c4d77b9b8a
2 $Id$
3 This file is part of the Free Pascal run time librar~y.
4 Copyright (c) 2000 by Marco van de Voort
5 member of the Free Pascal development team.
7 See the file COPYING.FPC, included in this distribution,
8 for details about the copyright.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 **********************************************************************}
16 { These things are set in the makefile, }
17 { But you can override them here.}
19 { If you use an aout system, set the conditional AOUT}
20 { $Define AOUT}
22 Unit SysBSD;
23 Interface
25 {$I sysunixh.inc}
27 Implementation
29 {$I sysunix.inc}
32 $Log$
33 Revision 1.1 2002/02/19 08:25:01 sasu
34 Initial revision
36 Revision 1.1.2.1 2000/09/16 11:19:08 marco
37 * Moved files from BSD to FreeBSD directory, with some small changes
39 Revision 1.1.2.4 2000/09/16 11:10:43 marco
40 * Introduced using sysunix and sysunixh
42 Revision 1.1.2.3 2000/09/10 16:12:40 marco
43 The rearrangement to linux for
45 Revision 1.1.2.2 2000/08/05 18:33:29 peter
46 * paramstr(0) fix for linux 2.0 kernels
48 Revision 1.1.2.1 2000/07/14 07:33:15 michael
49 + Fixed do_open call. Directory checking must not be performed
51 Revision 1.1 2000/07/13 06:30:54 michael
52 + Initial import
54 Revision 1.49 2000/07/08 18:02:39 peter
55 * do_open checks for directory, if directory then ioerror 2
57 Revision 1.48 2000/06/30 22:14:03 peter
58 * removed obsolete crtlib code
59 * support EINTR for read/write to restart the syscall
61 Revision 1.47 2000/05/11 17:55:13 peter
62 * changed order of fpustate checking to first check the more
63 specific states
65 Revision 1.46 2000/05/08 14:27:36 peter
66 * released newsignal
67 * newsignal gives now better backtraces using the sigcontext eip/ebp
68 fields
70 Revision 1.45 2000/04/16 16:07:58 marco
71 * BSD fixes
73 Revision 1.44 2000/04/14 13:04:53 marco
74 * Merged bsd/syslinux.pp and 1.43 linux/syslinux.pp to this file with ifdefs
76 Revision 1.43 2000/04/07 14:56:36 peter
77 * switch to direct asm if not correctfldcw defined
79 Revision 1.42 2000/03/31 23:26:32 pierre
80 * FPU needs reset for all SIGFPE even from integer division by zero
82 Revision 1.41 2000/03/31 23:21:19 pierre
83 * multiple exception handling works
84 (for linux only if syslinux is compiled with -dnewsignal)
86 Revision 1.40 2000/03/31 13:24:28 jonas
87 * signal handling using sigaction when compiled with -dnewsignal
88 (allows multiple signals to be received in one run)
90 Revision 1.39 2000/03/25 12:28:37 peter
91 * patch for getdir from Pierre
93 Revision 1.38 2000/03/23 15:24:18 peter
94 * remove handle check for do_close
96 Revision 1.37 2000/02/09 16:59:32 peter
97 * truncated log
99 Revision 1.36 2000/02/09 12:17:51 peter
100 * moved halt to system.inc
101 * syslinux doesn't use direct asm anymore
103 Revision 1.35 2000/02/08 11:47:09 peter
104 * paramstr(0) support
106 Revision 1.34 2000/01/20 23:38:02 peter
107 * support fm_inout as stdoutput for assign(f,'');rewrite(f,1); becuase
108 rewrite opens always with filemode 2
110 Revision 1.33 2000/01/16 22:25:38 peter
111 * check handle for file closing
113 Revision 1.32 2000/01/07 16:41:41 daniel
114 * copyright 2000
116 Revision 1.31 2000/01/07 16:32:28 daniel
117 * copyright 2000 added
119 Revision 1.30 1999/12/01 22:57:31 peter
120 * cmdline support
122 Revision 1.29 1999/11/06 14:39:12 peter
123 * truncated log
125 Revision 1.28 1999/10/28 09:50:06 peter
126 * use mmap instead of brk
128 Revision 1.27 1999/09/10 15:40:35 peter
129 * fixed do_open flags to be > $100, becuase filemode can be upto 255
131 Revision 1.26 1999/09/08 16:14:43 peter
132 * pointer fixes
134 Revision 1.25 1999/07/28 23:18:36 peter
135 * closedir fixes, which now disposes the pdir itself