units.tex 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  22. % Preamble.
  23. % Uncomment the one you need here. The book version is for the published
  24. % book version.
  25. \documentclass{report}
  26. %\documentclass{book}
  27. %
  28. % Preamble
  29. %
  30. \usepackage{multicol}
  31. \ifx\pdfoutput\undefined
  32. \usepackage{html}
  33. \usepackage{htmllist}
  34. \latex{\usepackage{fpc}}
  35. \html{\input{fpc-html.tex}}
  36. \else
  37. % Uncomment the fpc or fpcbook version, depending on the output format
  38. % you want.
  39. \usepackage{fpc}
  40. %\usepackage{fpcbook}
  41. \fi
  42. \latex{%
  43. \ifpdf
  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. % Settings
  53. %
  54. \makeindex
  55. %
  56. % Syntax style
  57. %
  58. % This is just a main file. All units are described in separate files.
  59. %
  60. \usepackage{syntax}
  61. \input{syntax/diagram.tex}
  62. %
  63. % Start of document.
  64. %
  65. \begin{document}
  66. \title{Free Pascal supplied units : \\ Reference guide.}
  67. \docdescription{Reference guide for standard Free Pascal units.}
  68. \docversion{1.8}
  69. \input{date.inc}
  70. \author{Micha\"el Van Canneyt\\ Florian Kl\"ampfl}
  71. \maketitle
  72. \tableofcontents
  73. \newpage
  74. \section*{About this guide}
  75. This document describes all constants, types, variables, functions and
  76. procedures as they are declared in the units that come standard with \fpc.
  77. Throughout this document, we will refer to functions, types and variables
  78. with \var{typewriter} font. Functions and procedures gave their own
  79. subsections, and for each function or procedure we have the following
  80. topics:
  81. \begin{description}
  82. \item [Declaration] The exact declaration of the function.
  83. \item [Description] What does the procedure exactly do ?
  84. \item [Errors] What errors can occur.
  85. \item [See Also] Cross references to other related functions/commands.
  86. \end{description}
  87. The cross-references come in two flavors:
  88. \begin{itemize}
  89. \item References to other functions in this manual. In the printed copy, a
  90. number will appear after this reference. It refers to the page where this
  91. function is explained. In the on-line help pages, this is a hyperlink, on
  92. which you can click to jump to the declaration.
  93. \item References to Unix manual pages. (For Linux related things only) they
  94. are printed in \var{typewriter} font, and the number after it is the Unix
  95. manual section.
  96. \end{itemize}
  97. The chapters are ordered alphabetically. The functions and procedures in
  98. most cases also, but don't count on it. Use the table of contents for quick
  99. lookup.
  100. %
  101. % Each unit is in its own file. Each file is a chapter.
  102. %
  103. % The crt unit.
  104. \input{crt.tex}
  105. % The Dos unit
  106. \input{dos.tex}
  107. % The DXELoad unit
  108. \input{dxeload.tex}
  109. % The emu387 unit
  110. \input{emu387.tex}
  111. % The getopts unit
  112. \input{getopts.tex}
  113. % The GPM unit
  114. \input{gpm.tex}
  115. % the go32 unit
  116. \input{go32.tex}
  117. % The graph unit
  118. \input{graph.tex}
  119. % The HeapTrc unit
  120. \input{heaptrc.tex}
  121. % The IPC unit
  122. \input{ipc.tex}
  123. % the Linux unit
  124. \input{linux.tex}
  125. % the math unit
  126. \input{math.tex}
  127. % The MMX unit
  128. \input{mmx.tex}
  129. % The mouse unit
  130. \input{mouse.tex}
  131. % the objects unit
  132. \input{objects.tex}
  133. % the ports unit
  134. \input{ports.tex}
  135. % the printer unit
  136. \input{printer.tex}
  137. % the sockets unit
  138. \input{sockets.tex}
  139. % the strings unit
  140. \input{strings.tex}
  141. % the sysutils unit
  142. \input{sysutils.tex}
  143. % end of units. Index.
  144. \printindex
  145. \end{document}