units.tex 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. %
  2. % $Id$
  3. % This file is part of the FPC documentation.
  4. % Copyright (C) 1997, by Michael Van Canneyt
  5. %
  6. % The FPC documentation is free text; you can redistribute it and/or
  7. % modify it under the terms of the GNU Library General Public License as
  8. % published by the Free Software Foundation; either version 2 of the
  9. % License, or (at your option) any later version.
  10. %
  11. % The FPC Documentation is distributed in the hope that it will be useful,
  12. % but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. % Library General Public License for more details.
  15. %
  16. % You should have received a copy of the GNU Library General Public
  17. % License along with the FPC documentation; see the file COPYING.LIB. If not,
  18. % write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  19. % Boston, MA 02111-1307, USA.
  20. %
  21. % This is just a main file. All units are described in separate files.
  22. %
  23. \documentclass{report}
  24. %
  25. % Preamble
  26. %
  27. \usepackage{ifthen}
  28. \usepackage{xspace}
  29. \usepackage{a4}
  30. \usepackage{makeidx}
  31. \usepackage{syntax}
  32. \usepackage{fancyhdr}
  33. \ifx\pdfoutput\undefined
  34. \usepackage{html}
  35. \usepackage{htmllist}
  36. \fi
  37. \usepackage{fpc}
  38. \latex{\usepackage{multicol}}
  39. \latex{%
  40. \ifpdf
  41. \pdfcompresslevel=9
  42. \pdfpagewidth=210mm
  43. \pdfpageheight=297mm
  44. \pdfinfo{/Author(Michael Van Canneyt)
  45. /Title(Standard units Reference Guide)
  46. /Subject(Free Pascal Standard units reference guide)
  47. /Keywords(Free Pascal, Units, RTL)
  48. }
  49. \fi
  50. }
  51. %
  52. \html{\input{fpc-html.tex}}
  53. %
  54. % Settings
  55. %
  56. \pagestyle{fancy}
  57. \fancyhead[LO,RE]{}
  58. \makeindex
  59. %
  60. % Syntax style
  61. %
  62. \usepackage{syntax}
  63. \input{syntax/diagram.tex}
  64. \latex{
  65. \usepackage{listings}%
  66. \lstset{language=Delphi}%
  67. \lstset{pre=\sffamily}%
  68. \lstset{keywordstyle=\bfseries}%
  69. }
  70. %
  71. % Start of document.
  72. %
  73. \begin{document}
  74. \title{Free Pascal supplied units : \\ Reference guide.}
  75. \docdescription{Reference guide for standard Free Pascal units.}
  76. \docversion{1.8}
  77. \input{date.inc}
  78. \author{Micha\"el Van Canneyt\\ Florian Kl\"ampfl}
  79. \maketitle
  80. \tableofcontents
  81. \newpage
  82. \section*{About this guide}
  83. This document describes all constants, types, variables, functions and
  84. procedures as they are declared in the units that come standard with \fpc.
  85. Throughout this document, we will refer to functions, types and variables
  86. with \var{typewriter} font. Functions and procedures gave their own
  87. subsections, and for each function or procedure we have the following
  88. topics:
  89. \begin{description}
  90. \item [Declaration] The exact declaration of the function.
  91. \item [Description] What does the procedure exactly do ?
  92. \item [Errors] What errors can occur.
  93. \item [See Also] Cross references to other related functions/commands.
  94. \end{description}
  95. The cross-references come in two flavors:
  96. \begin{itemize}
  97. \item References to other functions in this manual. In the printed copy, a
  98. number will appear after this reference. It refers to the page where this
  99. function is explained. In the on-line help pages, this is a hyperlink, on
  100. which you can click to jump to the declaration.
  101. \item References to Unix manual pages. (For Linux related things only) they
  102. are printed in \var{typewriter} font, and the number after it is the Unix
  103. manual section.
  104. \end{itemize}
  105. The chapters are ordered alphabetically. The functions and procedures in
  106. most cases also, but don't count on it. Use the table of contents for quick
  107. lookup.
  108. %
  109. % Each unit is in its own file. Each file is a chapter.
  110. %
  111. % The crt unit.
  112. \input{crt.tex}
  113. % The Dos unit
  114. \input{dos.tex}
  115. % The DXELoad unit
  116. \input{dxeload.tex}
  117. % The emu387 unit
  118. \input{emu387.tex}
  119. % The getopts unit
  120. \input{getopts.tex}
  121. % The GPM unit
  122. \input{gpm.tex}
  123. % the go32 unit
  124. \input{go32.tex}
  125. % The graph unit
  126. \input{graph.tex}
  127. % The HeapTrc unit
  128. \input{heaptrc}
  129. % The IPC unit
  130. \input{ipc.tex}
  131. % the Linux unit
  132. \input{linux.tex}
  133. % the math unit
  134. \input{math.tex}
  135. % The MMX unit
  136. \input{mmx.tex}
  137. % The mouse unit
  138. \input{mouse.tex}
  139. % the objects unit
  140. \input{objects.tex}
  141. % the ports unit
  142. \input{ports.tex}
  143. % the printer unit
  144. \input{printer.tex}
  145. % the sockets unit
  146. \input{sockets.tex}
  147. % the strings unit
  148. \input{strings.tex}
  149. % the sysutils unit
  150. \input{sysutils.tex}
  151. % end of units. Index.
  152. \printindex
  153. \end{document}