units.tex 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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{html}
  32. \usepackage{htmllist}
  33. \usepackage{syntax}
  34. \usepackage{fancyhdr}
  35. \usepackage{fpc}
  36. \latex{\usepackage{multicol}}
  37. \latex{%
  38. \ifpdf
  39. \pdfcompresslevel=9
  40. \pdfpagewidth=210mm
  41. \pdfpageheight=297mm
  42. \pdfinfo{/Author(Michael Van Canneyt)
  43. /Title(Standard units Reference Guide)
  44. /Subject(Free Pascal Standard units reference guide)
  45. /Keywords(Free Pascal, Units, RTL)
  46. }
  47. \fi
  48. }
  49. %
  50. \html{\input{fpc-html.tex}}
  51. %
  52. % Settings
  53. %
  54. \pagestyle{fancy}
  55. \fancyhead[LO,RE]{}
  56. \makeindex
  57. %
  58. % Syntax style
  59. %
  60. \usepackage{syntax}
  61. \input{syntax/diagram.tex}
  62. \latex{
  63. \usepackage{listings}%
  64. \lstset{language=Delphi}%
  65. \lstset{pre=\sffamily}%
  66. \lstset{keywordstyle=\bfseries}%
  67. }
  68. %
  69. % Start of document.
  70. %
  71. \begin{document}
  72. \title{Free Pascal supplied units : \\ Reference guide.}
  73. \docdescription{Reference guide for standard Free Pascal units.}
  74. \docversion{1.6}
  75. \input{date.inc}
  76. \author{Micha\"el Van Canneyt\\ Florian Kl\"ampfl}
  77. \maketitle
  78. \tableofcontents
  79. \newpage
  80. \section*{About this guide}
  81. This document describes all constants, types, variables, functions and
  82. procedures as they are declared in the units that come standard with \fpc.
  83. Throughout this document, we will refer to functions, types and variables
  84. with \var{typewriter} font. Functions and procedures gave their own
  85. subsections, and for each function or procedure we have the following
  86. topics:
  87. \begin{description}
  88. \item [Declaration] The exact declaration of the function.
  89. \item [Description] What does the procedure exactly do ?
  90. \item [Errors] What errors can occur.
  91. \item [See Also] Cross references to other related functions/commands.
  92. \end{description}
  93. The cross-references come in two flavors:
  94. \begin{itemize}
  95. \item References to other functions in this manual. In the printed copy, a
  96. number will appear after this reference. It refers to the page where this
  97. function is explained. In the on-line help pages, this is a hyperlink, on
  98. which you can click to jump to the declaration.
  99. \item References to Unix manual pages. (For Linux related things only) they
  100. are printed in \var{typewriter} font, and the number after it is the Unix
  101. manual section.
  102. \end{itemize}
  103. The chapters are ordered alphabetically. The functions and procedures in
  104. most cases also, but don't count on it. Use the table of contents for quick
  105. lookup.
  106. %
  107. % Each unit is in its own file. Each file is a chapter.
  108. %
  109. % The crt unit.
  110. \input{crt.tex}
  111. % The Dos unit
  112. \input{dos.tex}
  113. % The getopts unit
  114. \input{getopts.tex}
  115. % the go32 unit
  116. \input{go32.tex}
  117. % The graph unit
  118. \input{graph.tex}
  119. % The HeapTrc unit
  120. \input{heaptrc}
  121. % The IPC unit
  122. \input{ipc.tex}
  123. % the Linux unit
  124. \input{linux.tex}
  125. % The MMX unit
  126. \input{mmx.tex}
  127. % The mouse unit
  128. \input{mouse.tex}
  129. % the objects unit
  130. \input{objects.tex}
  131. % the printer unit
  132. \input{printer.tex}
  133. % the sockets unit
  134. \input{sockets.tex}
  135. % the strings unit
  136. \input{strings.tex}
  137. % the sysutils unit
  138. \input{sysutils.tex}
  139. % end of units. Index.
  140. \printindex
  141. \end{document}