systemh.inc 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570
  1. {
  2. $Id$
  3. This file is part of the Free Pascal Run time library.
  4. Copyright (c) 1993,97 by the Free Pascal development team
  5. This File contains the OS independent declarations of the system unit
  6. See the File COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. {
  13. Supported conditionnals:
  14. ------------------------
  15. RTLLITE Create a somewhat smaller RTL
  16. }
  17. {****************************************************************************
  18. Support for multiple compiler versions
  19. ****************************************************************************}
  20. {$i version.inc}
  21. {****************************************************************************
  22. Needed switches
  23. ****************************************************************************}
  24. {$I-,Q-,H-,R-}
  25. { Stack check gives a note under linux }
  26. {$ifndef linux}
  27. {$S-}
  28. {$endif}
  29. {****************************************************************************
  30. Global Types and Constants
  31. ****************************************************************************}
  32. Type
  33. Longint = $80000000..$7fffffff; { $8000000 creates a longint overfow !! }
  34. Integer = -32768..32767;
  35. shortint = -128..127;
  36. byte = 0..255;
  37. Word = 0..65535;
  38. { at least declare Turbo Pascal real types }
  39. {$ifdef i386}
  40. StrLenInt = LongInt;
  41. {$define DEFAULT_EXTENDED}
  42. {$define SUPPORT_EXTENDED}
  43. {$define SUPPORT_COMP}
  44. {$define SUPPORT_SINGLE}
  45. {$define SUPPORT_FIXED}
  46. Double = real;
  47. {$ifdef DEFAULT_EXTENDED}
  48. ValReal = Extended;
  49. {$else}
  50. ValReal = Double;
  51. {$endif}
  52. {$endif}
  53. {$ifdef m68k}
  54. StrLenInt = Integer;
  55. ValReal = Real;
  56. {$ifdef USEANSISTRINGS}
  57. {$error StrLenInt must be a longint if ansi strings are used}
  58. {$endif}
  59. {$endif}
  60. { some type aliases }
  61. dword = cardinal;
  62. longword = cardinal;
  63. {$ifndef useansistrings}
  64. shortstring = string;
  65. {$endif}
  66. { Zero - terminated strings }
  67. PChar = ^Char;
  68. PPChar = ^PChar;
  69. { procedure type }
  70. TProcedure = Procedure;
  71. const
  72. { max. values for longint and int}
  73. maxLongint = $7fffffff;
  74. maxint = 32767;
  75. { Compatibility With TP }
  76. {$ifdef i386}
  77. Test8086 : byte = 2; { Always i386 or newer }
  78. Test8087 : byte = 3; { Always 387 or newer. Emulated if needed. }
  79. {$endif i386}
  80. {$ifdef m68k}
  81. Test68000 : byte = 0; { Must be determined at startup for both }
  82. Test68881 : byte = 0;
  83. {$endif}
  84. { max level in dumping on error }
  85. Max_Frame_Dump : Word = 8;
  86. { Exit Procedure handling consts and types }
  87. ExitProc : pointer = nil;
  88. Erroraddr: pointer = nil;
  89. Errorcode: Word = 0;
  90. { file input modes }
  91. fmClosed = $D7B0;
  92. fmInput = $D7B1;
  93. fmOutput = $D7B2;
  94. fmInOut = $D7B3;
  95. fmAppend = $D7B4;
  96. Filemode : byte = 2;
  97. Type
  98. TErrorProc = Procedure (ErrNo : Longint; Address : Pointer);
  99. var
  100. { Standard In- and Output }
  101. Output,
  102. Input,
  103. StdErr : Text;
  104. ExitCode,
  105. InOutRes : Word;
  106. StackBottom,
  107. LowestStack,
  108. RandSeed : Longint;
  109. { Error handlers }
  110. ErrorProc : Pointer;
  111. {****************************************************************************
  112. Processor specific routines
  113. ****************************************************************************}
  114. Procedure Move(Var source,dest;count:Longint);
  115. Procedure FillChar(Var x;count:Longint;Value:Char);
  116. Procedure FillChar(Var x;count:Longint;Value:byte);
  117. {$ifndef RTLLITE}
  118. Procedure FillWord(Var x;count:Longint;Value:Word);
  119. {$endif RTLLITE}
  120. {****************************************************************************
  121. Math Routines
  122. ****************************************************************************}
  123. {$ifndef RTLLITE}
  124. Function lo(w:Word):byte;
  125. Function lo(l:Longint):Word;
  126. Function lo(i:Integer):byte;
  127. Function lo(B: Byte):Byte;
  128. Function hi(w:Word):byte;
  129. Function hi(i:Integer):byte;
  130. Function hi(l:Longint):Word;
  131. Function Hi(B : Byte): byte;
  132. Function Swap (X:Word):Word;
  133. Function Swap (X:Integer):Integer;
  134. Function Swap (X:Cardinal):Cardinal;
  135. Function Swap (X:Longint):Longint;
  136. {$endif RTLLITE}
  137. Function Chr(b:byte):Char;
  138. Function Length(s:string):byte;
  139. Function Random(l:Longint):Longint;
  140. Function Random:real;
  141. Procedure Randomize;
  142. Function abs(l:Longint):Longint;
  143. Function sqr(l:Longint):Longint;
  144. Function odd(l:Longint):Boolean;
  145. { float math routines }
  146. {$I mathh.inc}
  147. {****************************************************************************
  148. Addr/Pointer Handling
  149. ****************************************************************************}
  150. {$ifndef RTLLITE}
  151. Function ptr(sel,off:Longint):pointer;
  152. Function Addr (Var X):pointer;
  153. Function Cseg:Word;
  154. Function Dseg:Word;
  155. Function Sseg:Word;
  156. {$endif RTLLITE}
  157. {****************************************************************************
  158. PChar and String Handling
  159. ****************************************************************************}
  160. function strpas(p:pchar):shortstring;
  161. function strlen(p:pchar):longint;
  162. { Shortstring functions }
  163. Function Copy(const s:shortstring;index:StrLenInt;count:StrLenInt):shortstring;
  164. Procedure Delete(Var s:shortstring;index:StrLenInt;count:StrLenInt);
  165. Procedure Insert(const source:shortstring;Var s:shortstring;index:StrLenInt);
  166. Function Pos(const substr:shortstring;const s:shortstring):StrLenInt;
  167. Function Pos(C:Char;const s:shortstring):StrLenInt;
  168. Procedure SetLength(var s:shortstring;len:StrLenInt);
  169. { Char functions to overcome overloading problem with ansistrings }
  170. function copy(c:char;index : StrLenInt;count : StrLenInt): shortstring;
  171. function pos(const substr : shortstring;c:char): StrLenInt;
  172. function length(c:char):byte;
  173. Function upCase(const s:shortstring):shortstring;
  174. Function upCase(c:Char):Char;
  175. {$ifndef RTLLITE}
  176. Function lowerCase(c:Char):Char;
  177. Function lowerCase(const s:shortstring):shortstring;
  178. Function hexStr(Val:Longint;cnt:byte):shortstring;
  179. Function binStr(Val:Longint;cnt:byte):shortstring;
  180. {$endif RTLLITE}
  181. Function Space(b:byte):shortstring;
  182. Procedure Val(const s:shortstring;Var l:Longint;Var code:Word);
  183. Procedure Val(const s:shortstring;Var l:Longint;Var code:Integer);
  184. Procedure Val(const s:shortstring;Var l:Longint;Var code:Longint);
  185. Procedure Val(const s:shortstring;Var l:Longint);
  186. Procedure Val(const s:shortstring;Var b:byte;Var code:Word);
  187. Procedure Val(const s:shortstring;Var b:byte;Var code:Integer);
  188. Procedure Val(const s:shortstring;Var b:byte;Var code:Longint);
  189. Procedure Val(const s:shortstring;Var b:byte);
  190. Procedure Val(const s:shortstring;Var b:shortint;Var code:Word);
  191. Procedure Val(const s:shortstring;Var b:shortint;Var code:Integer);
  192. Procedure Val(const s:shortstring;Var b:shortint;Var code:Longint);
  193. Procedure Val(const s:shortstring;Var b:shortint);
  194. Procedure Val(const s:shortstring;Var b:Word;Var code:Word);
  195. Procedure Val(const s:shortstring;Var b:Word;Var code:Integer);
  196. Procedure Val(const s:shortstring;Var b:Word;Var code:Longint);
  197. Procedure Val(const s:shortstring;Var b:Word);
  198. Procedure Val(const s:shortstring;Var b:Integer;Var code:Word);
  199. Procedure Val(const s:shortstring;Var b:Integer;Var code:Integer);
  200. Procedure Val(const s:shortstring;Var b:Integer;Var code:Longint);
  201. Procedure Val(const s:shortstring;Var b:Integer);
  202. Procedure Val(const s:shortstring;Var v:cardinal;Var code:Word);
  203. Procedure Val(const s:shortstring;Var v:cardinal;Var code:Integer);
  204. Procedure Val(const s:shortstring;Var v:cardinal;Var code:Longint);
  205. Procedure Val(const s:shortstring;Var v:cardinal);
  206. Procedure Val(const s:shortstring;Var d:ValReal;Var code:Word);
  207. Procedure Val(const s:shortstring;Var d:ValReal;Var code:Integer);
  208. Procedure Val(const s:shortstring;Var d:ValReal;Var code:Longint);
  209. Procedure Val(const s:shortstring;Var d:ValReal);
  210. {$ifdef SUPPORT_SINGLE}
  211. Procedure Val(const s:shortstring;Var d:single;Var code:Word);
  212. Procedure Val(const s:shortstring;Var d:single;Var code:Integer);
  213. Procedure Val(const s:shortstring;Var d:single;Var code:Longint);
  214. Procedure Val(const s:shortstring;Var d:single);
  215. {$endif SUPPORT_SINGLE}
  216. {$ifdef SUPPORT_COMP}
  217. Procedure Val(const s:shortstring;Var d:comp;Var code:Word);
  218. Procedure Val(const s:shortstring;Var d:comp;Var code:Integer);
  219. Procedure Val(const s:shortstring;Var d:comp;Var code:Longint);
  220. Procedure Val(const s:shortstring;Var d:comp);
  221. {$endif SUPPORT_COMP}
  222. {$ifdef SUPPORT_FIXED}
  223. Procedure Val(const s:shortstring;Var d:fixed;Var code:Word);
  224. Procedure Val(const s:shortstring;Var d:fixed;Var code:Integer);
  225. Procedure Val(const s:shortstring;Var d:fixed;Var code:Longint);
  226. Procedure Val(const s:shortstring;Var d:fixed);
  227. {$endif SUPPORT_FIXED}
  228. {$ifdef DEFAULT_EXTENDED}
  229. Procedure Val(const s:shortstring;Var d:Real;Var code:Word);
  230. Procedure Val(const s:shortstring;Var d:Real;Var code:Integer);
  231. Procedure Val(const s:shortstring;Var d:Real;Var code:Longint);
  232. Procedure Val(const s:shortstring;Var d:Real);
  233. {$else DEFAULT_EXTENDED}
  234. {$ifdef SUPPORT_EXTENDED}
  235. Procedure Val(const s:shortstring;Var d:Extended;Var code:Word);
  236. Procedure Val(const s:shortstring;Var d:Extended;Var code:Integer);
  237. Procedure Val(const s:shortstring;Var d:Extended;Var code:Longint);
  238. Procedure Val(const s:shortstring;Var d:Extended);
  239. {$endif}
  240. {$endif DEFAULT_EXTENDED}
  241. {****************************************************************************
  242. AnsiString Handling
  243. ****************************************************************************}
  244. Procedure SetLength (Var S : AnsiString; l : Longint);
  245. Procedure UniqueAnsiString (Var S : AnsiString);
  246. Function Length (Const S : AnsiString) : Longint;
  247. Function Copy (Const S : AnsiString; Index,Size : Longint) : AnsiString;
  248. Function Pos (Const Substr : AnsiString; Const Source : AnsiString) : Longint;
  249. Procedure Insert (Const Source : AnsiString; Var S : AnsiString; Index : Longint);
  250. Procedure Delete (Var S : AnsiString; Index,Size: Longint);
  251. Procedure Val (Const S : AnsiString; var R : real; Var Code : Integer);
  252. {
  253. Procedure Val (Const S : AnsiString; var D : Double; Var Code : Integer);
  254. }
  255. Procedure Val (Const S : AnsiString; var E : Extended; Code : Integer);
  256. Procedure Val (Const S : AnsiString; var C : Cardinal; Code : Integer);
  257. Procedure Val (Const S : AnsiString; var L : Longint; Var Code : Integer);
  258. Procedure Val (Const S : AnsiString; var W : Word; Var Code : Integer);
  259. Procedure Val (Const S : AnsiString; var I : Integer; Var Code : Integer);
  260. Procedure Val (Const S : AnsiString; var B : Byte; Var Code : Integer);
  261. Procedure Val (Const S : AnsiString; var SI : ShortInt; Var Code : Integer);
  262. {
  263. Procedure Str (Const R : Real;Len, fr : longint; Var S : AnsiString);
  264. Procedure Str (Const D : Double;Len,fr : longint; Var S : AnsiString);
  265. Procedure Str (Const E : Extended;Len,fr : longint; Var S : AnsiString);
  266. Procedure Str (Const C : Cardinal;len : Longint; Var S : AnsiString);
  267. Procedure Str (Const L : LongInt;len : longint; Var S : AnsiString);
  268. Procedure Str (Const W : Word;len : longint; Var S : AnsiString);
  269. Procedure Str (Const I : Integer;len : Longint; Var S : AnsiString);
  270. Procedure Str (Const B : Byte; Len : longint; Var S : AnsiString);
  271. Procedure Str (Const SI : ShortInt; Len : longint; Var S : AnsiString);
  272. }
  273. {****************************************************************************
  274. Untyped File Management
  275. ****************************************************************************}
  276. Procedure Assign(Var f:File;const Name:string);
  277. Procedure Assign(Var f:File;p:pchar);
  278. Procedure Assign(Var f:File;c:char);
  279. Procedure Rewrite(Var f:File;l:Longint);
  280. Procedure Rewrite(Var f:File);
  281. Procedure Reset(Var f:File;l:Longint);
  282. Procedure Reset(Var f:File);
  283. Procedure Close(Var f:File);
  284. Procedure BlockWrite(Var f:File;Var Buf;Count:Longint;Var Result:Longint);
  285. Procedure BlockWrite(Var f:File;Var Buf;Count:Word;Var Result:Word);
  286. Procedure BlockWrite(Var f:File;Var Buf;Count:Word;Var Result:Integer);
  287. Procedure BlockWrite(Var f:File;Var Buf;Count:Longint);
  288. Procedure BlockRead(Var f:File;Var Buf;count:Longint;Var Result:Longint);
  289. Procedure BlockRead(Var f:File;Var Buf;count:Word;Var Result:Word);
  290. Procedure BlockRead(Var f:File;Var Buf;count:Word;Var Result:Integer);
  291. Procedure BlockRead(Var f:File;Var Buf;count:Longint);
  292. Function FilePos(Var f:File):Longint;
  293. Function FileSize(Var f:File):Longint;
  294. Procedure Seek(Var f:File;Pos:Longint);
  295. Function EOF(Var f:File):Boolean;
  296. Procedure Erase(Var f:File);
  297. Procedure Rename(Var f:File;const s:string);
  298. Procedure Rename(Var f:File;p:pchar);
  299. Procedure Rename(Var f:File;c:char);
  300. Procedure Truncate (Var F:File);
  301. {****************************************************************************
  302. Typed File Management
  303. ****************************************************************************}
  304. Procedure Assign(Var f:TypedFile;const Name:string);
  305. Procedure Assign(Var f:TypedFile;p:pchar);
  306. Procedure Assign(Var f:TypedFile;c:char);
  307. Procedure Rewrite(Var f:TypedFile);
  308. Procedure Reset(Var f:TypedFile);
  309. {****************************************************************************
  310. Text File Management
  311. ****************************************************************************}
  312. Procedure Assign(Var t:Text;const s:string);
  313. Procedure Assign(Var t:Text;p:pchar);
  314. Procedure Assign(Var t:Text;c:char);
  315. Procedure Close(Var t:Text);
  316. Procedure Rewrite(Var t:Text);
  317. Procedure Reset(Var t:Text);
  318. Procedure Append(Var t:Text);
  319. Procedure Flush(Var t:Text);
  320. Procedure Erase(Var t:Text);
  321. Procedure Rename(Var t:Text;const s:string);
  322. Procedure Rename(Var t:Text;p:pchar);
  323. Procedure Rename(Var t:Text;c:char);
  324. Function EOF(Var t:Text):Boolean;
  325. Function EOF:Boolean;
  326. Function EOLn(Var t:Text):Boolean;
  327. Function EOLn:Boolean;
  328. Function SeekEOLn (Var t:Text):Boolean;
  329. Function SeekEOF (Var t:Text):Boolean;
  330. Function SeekEOLn:Boolean;
  331. Function SeekEOF:Boolean;
  332. Procedure SetTextBuf(Var f:Text; Var Buf);
  333. Procedure SetTextBuf(Var f:Text; Var Buf; Size:Word);
  334. {****************************************************************************
  335. Directory Management
  336. ****************************************************************************}
  337. Procedure chdir(const s:string);
  338. Procedure mkdir(const s:string);
  339. Procedure rmdir(const s:string);
  340. Procedure getdir(drivenr:byte;Var dir:shortstring);
  341. Procedure getdir(drivenr:byte;Var dir:ansistring);
  342. {*****************************************************************************
  343. Miscelleaous
  344. *****************************************************************************}
  345. { os independent calls to allow backtraces }
  346. function get_frame:longint;
  347. function get_caller_addr(framebp:longint):longint;
  348. function get_caller_frame(framebp:longint):longint;
  349. Function IOResult:Word;
  350. Function Sptr:Longint;
  351. {*****************************************************************************
  352. Init / Exit / ExitProc
  353. *****************************************************************************}
  354. Function Paramcount:Longint;
  355. Function ParamStr(l:Longint):string;
  356. {$ifndef RTLLITE}
  357. Procedure Dump_Stack(bp:Longint);
  358. {$endif RTLLITE}
  359. Procedure RunError(w:Word);
  360. Procedure RunError;
  361. Procedure halt(errnum:byte);
  362. {$ifndef RTLLITE}
  363. Procedure AddExitProc(Proc:TProcedure);
  364. {$endif RTLLITE}
  365. Procedure halt;
  366. {*****************************************************************************
  367. Abstract/Assert
  368. *****************************************************************************}
  369. procedure AbstractError;
  370. Procedure SysAssert(Const Msg,FName:string;LineNo,ErrorAddr:Longint);
  371. const
  372. AssertErrorProc : Pointer=@SysAssert;
  373. AbstractErrorProc : Pointer=nil;
  374. {*****************************************************************************
  375. SetJmp/LongJmp
  376. *****************************************************************************}
  377. {$i setjumph.inc}
  378. {
  379. $Log$
  380. Revision 1.41 1998-11-16 10:21:26 peter
  381. * fixes for H+
  382. Revision 1.40 1998/11/05 10:29:37 pierre
  383. * fix for length(char) in const expressions
  384. Revision 1.39 1998/11/04 20:34:01 michael
  385. + Removed ifdef useansistrings
  386. Revision 1.38 1998/11/04 10:20:51 peter
  387. * ansistring fixes
  388. Revision 1.37 1998/10/10 15:28:47 peter
  389. + read single,fixed
  390. + val with code:longint
  391. + val for fixed
  392. Revision 1.36 1998/10/05 17:22:54 pierre
  393. * avoid overflow on $8000000 with $Q-
  394. Revision 1.35 1998/10/05 12:32:52 peter
  395. + assert() support
  396. Revision 1.34 1998/10/01 14:54:48 peter
  397. * export also stackframe functions
  398. Revision 1.33 1998/09/28 14:02:33 michael
  399. + AnsiString changes
  400. Revision 1.32 1998/09/22 15:30:55 peter
  401. * shortstring=string type added
  402. Revision 1.31 1998/09/20 17:49:09 florian
  403. * some ansistring fixes
  404. Revision 1.30 1998/09/17 16:34:17 peter
  405. * new eof,eoln,seekeoln,seekeof
  406. * speed upgrade for read_string
  407. * inoutres 104/105 updates for read_* and write_*
  408. Revision 1.29 1998/09/16 13:08:04 michael
  409. Added AbstractErrorHandler
  410. Revision 1.28 1998/09/14 10:48:22 peter
  411. * FPC_ names
  412. * Heap manager is now system independent
  413. Revision 1.27 1998/09/08 15:03:28 peter
  414. * moved getmem/freemem/memavail/maxavail to heaph.inc
  415. Revision 1.26 1998/09/04 18:16:14 peter
  416. * uniform filerec/textrec (with recsize:longint and name:0..255)
  417. Revision 1.25 1998/09/01 17:36:22 peter
  418. + internconst
  419. Revision 1.24 1998/08/11 21:39:08 peter
  420. * splitted default_extended from support_extended
  421. Revision 1.23 1998/08/11 00:05:27 peter
  422. * $ifdef ver0_99_5 updates
  423. Revision 1.22 1998/08/08 12:28:14 florian
  424. * a lot small fixes to the extended data type work
  425. Revision 1.21 1998/07/30 13:26:17 michael
  426. + Added support for ErrorProc variable. All internal functions are required
  427. to call HandleError instead of runerror from now on.
  428. This is necessary for exception support.
  429. Revision 1.20 1998/07/28 20:37:47 michael
  430. + added setjmp/longjmp and exception support
  431. Revision 1.19 1998/07/20 23:36:57 michael
  432. changes for ansistrings
  433. Revision 1.18 1998/07/18 17:14:24 florian
  434. * strlenint type implemented
  435. Revision 1.17 1998/07/10 11:02:39 peter
  436. * support_fixed, becuase fixed is not 100% yet for the m68k
  437. Revision 1.16 1998/07/02 12:13:18 carl
  438. * No SINGLE type for m68k or other non-intel processors!
  439. Revision 1.15 1998/07/01 14:43:46 carl
  440. - max_frame_dump reduced to 8, 20 is too much!
  441. Revision 1.14 1998/06/25 14:04:26 peter
  442. + internal inc/dec
  443. Revision 1.13 1998/06/25 09:44:21 daniel
  444. + RTLLITE directive to compile minimal RTL.
  445. Revision 1.12 1998/06/15 15:16:27 daniel
  446. * RTLLITE conditional added to produce smaller RTL
  447. Revision 1.11 1998/06/08 12:38:23 michael
  448. Implemented rtti, inserted ansistrings again
  449. Revision 1.10 1998/06/04 23:46:02 peter
  450. * comp,extended are only i386 added support_comp,support_extended
  451. Revision 1.9 1998/06/04 08:26:03 pierre
  452. * boolean internal definition again (needed to compile
  453. older RTL's)
  454. Revision 1.8 1998/06/03 23:39:53 peter
  455. + boolean=bytebool
  456. Revision 1.7 1998/05/22 12:34:11 peter
  457. * fixed the optimizes of daniel
  458. Revision 1.6 1998/05/21 19:31:00 peter
  459. * objects compiles for linux
  460. + assign(pchar), assign(char), rename(pchar), rename(char)
  461. * fixed read_text_as_array
  462. + read_text_as_pchar which was not yet in the rtl
  463. Revision 1.5 1998/05/12 10:42:45 peter
  464. * moved getopts to inc/, all supported OS's need argc,argv exported
  465. + strpas, strlen are now exported in the systemunit
  466. * removed logs
  467. * removed $ifdef ver_above
  468. Revision 1.4 1998/04/16 12:30:47 peter
  469. + inc(pchar), dec(pchar), incc(pchar,a),dec(pchar,a)
  470. }