mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 23:38:06 +02:00
+ Many updates and missing identifiers
This commit is contained in:
parent
e2fd573a9a
commit
baa3e86332
@ -139,6 +139,30 @@ implement the functionality in this unit for the new platform.
|
||||
<short>Pointer to <link id="cuShort"/> type.</short>
|
||||
</element>
|
||||
|
||||
<element name="cchar">
|
||||
<short>Alias for <link id="#rtl.UnixType.cchar"/></short>
|
||||
</element>
|
||||
|
||||
<element name="cuchar">
|
||||
<short>Alias for <link id="#rtl.UnixType.cuchar"/></short>
|
||||
</element>
|
||||
|
||||
<element name="cunsigned">
|
||||
<short>Alias for <link id="#rtl.unixtype.cunsigned"/></short>
|
||||
</element>
|
||||
|
||||
<element name="pcchar">
|
||||
<short>Alias for <link id="#rtl.UnixType.pcchar"/></short>
|
||||
</element>
|
||||
|
||||
<element name="pcuchar">
|
||||
<short>Alias for <link id="#rtl.UnixType.pcuchar"/></short>
|
||||
</element>
|
||||
|
||||
<element name="pcunsigned">
|
||||
<short>Alias for <link id="#rtl.unixtype.pcunsigned"/></short>
|
||||
</element>
|
||||
|
||||
<!-- alias type Visibility: default -->
|
||||
<element name="dev_t">
|
||||
<short>Device descriptor type.</short>
|
||||
@ -1124,6 +1148,140 @@ implement the functionality in this unit for the new platform.
|
||||
<short>Pointer to <link id="TOff64"/> type.</short>
|
||||
</element>
|
||||
|
||||
<!-- record type Visibility: default -->
|
||||
<element name="timezone">
|
||||
<short>Record describing a timezone</short>
|
||||
</element>
|
||||
|
||||
<!-- variable Visibility: default -->
|
||||
<element name="timezone.minuteswest">
|
||||
<short>Minutes west of GMT</short>
|
||||
</element>
|
||||
|
||||
<!-- variable Visibility: default -->
|
||||
<element name="timezone.dsttime">
|
||||
<short>Daylight savings time</short>
|
||||
</element>
|
||||
|
||||
<!-- pointer type Visibility: default -->
|
||||
<element name="ptimezone">
|
||||
<short>Pointer to <link id="TimeZone"/> record.</short>
|
||||
</element>
|
||||
|
||||
<!-- alias type Visibility: default -->
|
||||
<element name="TTimeZone">
|
||||
<short>Alias for <link id="TimeZone"/> record.</short>
|
||||
</element>
|
||||
|
||||
|
||||
<element name="S_IFMT">
|
||||
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: File type bit mask</short>
|
||||
</element>
|
||||
<element name="S_IFSOCK">
|
||||
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: Socket</short>
|
||||
</element>
|
||||
<element name="S_IFLNK">
|
||||
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: Link</short>
|
||||
</element>
|
||||
<element name="S_IFREG">
|
||||
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: Regular file</short>
|
||||
</element>
|
||||
<element name="S_IFBLK">
|
||||
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: Block device</short>
|
||||
</element>
|
||||
<element name="S_IFDIR">
|
||||
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: Directory</short>
|
||||
</element>
|
||||
<element name="S_IFCHR">
|
||||
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: Character device</short>
|
||||
</element>
|
||||
<element name="S_IFIFO">
|
||||
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: FIFO</short>
|
||||
</element>
|
||||
|
||||
<element name="SigActionHandler">
|
||||
<short>Callback prototype for a <link id="#rtl.baseunix.SigActionRec"/> record.</short>
|
||||
<descr>
|
||||
When installing a signal handler, the actual signal handler must be of type
|
||||
<var>SigActionHandler</var>.
|
||||
</descr>
|
||||
</element>
|
||||
|
||||
<element name="PSigContext">
|
||||
<short>Pointer to <link id="#rtl.baseunix.TSigContext"/> record type.</short>
|
||||
</element>
|
||||
|
||||
<element name="TSigContext">
|
||||
<short>Record describing the CPU context when a signal occurs.</short>
|
||||
<descr>
|
||||
This type is CPU dependent. Cross-platform code should not use the contents
|
||||
of this record.
|
||||
</descr>
|
||||
</element>
|
||||
|
||||
<element name="PSigInfo">
|
||||
<short>Pointer to <link id="#rtl.baseunix.TSigInfo"/> record type.</short>
|
||||
</element>
|
||||
|
||||
<element name="TSigInfo">
|
||||
<short>Record describing the signal when a signal occurs.</short>
|
||||
<descr>
|
||||
This type describes the signal that occurred.
|
||||
</descr>
|
||||
</element>
|
||||
|
||||
<element name="TSigInfo.si_signo">
|
||||
<short>Signal number</short>
|
||||
</element>
|
||||
|
||||
|
||||
<element name="TSigInfo.si_errno">
|
||||
<short>Error code</short>
|
||||
</element>
|
||||
|
||||
<element name="TSigInfo.si_code">
|
||||
<short>Extra code (?)</short>
|
||||
</element>
|
||||
|
||||
|
||||
<element name="TStatFS">
|
||||
<short>Record describing a file system in the <link id="baseunix.fpstatfs"/> call.</short>
|
||||
</element>
|
||||
<element name="TStatFS.fstype">
|
||||
<short>File system type</short>
|
||||
</element>
|
||||
<element name="TStatFS.bsize">
|
||||
<short>Block size</short>
|
||||
</element>
|
||||
<element name="TStatFS.blocks">
|
||||
<short>Total number of blocks</short>
|
||||
</element>
|
||||
<element name="TStatFS.bfree">
|
||||
<short>Number of free blocks</short>
|
||||
</element>
|
||||
<element name="TStatFS.bavail">
|
||||
<short>Number of available blocks</short>
|
||||
</element>
|
||||
<element name="TStatFS.files">
|
||||
<short>Number of files</short>
|
||||
</element>
|
||||
<element name="TStatFS.ffree">
|
||||
<short>?</short>
|
||||
</element>
|
||||
<element name="TStatFS.fsid">
|
||||
<short>?</short>
|
||||
</element>
|
||||
<element name="TStatFS.namelen">
|
||||
<short>Max name length for files.</short>
|
||||
</element>
|
||||
<element name="TStatFS.spare">
|
||||
<short>Pad bytes. Do not use.</short>
|
||||
</element>
|
||||
|
||||
<element name="TSigInfo.si_fields">
|
||||
<short>Extra fields, content depends on the signal.</short>
|
||||
</element>
|
||||
|
||||
<element name="MAP_PRIVATE">
|
||||
<short><link id="FpMMap"/> map type: Changes are private</short>
|
||||
</element>
|
||||
@ -4620,6 +4778,23 @@ function.
|
||||
<example file="unixex/ex62"/>
|
||||
</element>
|
||||
|
||||
<element name="FPSetTimeOfDay">
|
||||
<short>Set kernel time</short>
|
||||
<descr>
|
||||
<p>
|
||||
<var>FpSetTimeOfDay</var> sets the kernel time to the number of seconds since 00:00,
|
||||
January 1 1970, GMT specified in the <var>tp</var> record. This time NOT corrected
|
||||
any way, not taking into account timezones, daylight savings time and so on.
|
||||
</p>
|
||||
<p>
|
||||
It is simply a wrapper to the kernel system call.
|
||||
</p>
|
||||
</descr>
|
||||
<seealso>
|
||||
<link id="#rtl.unix.FPGetTimeOfDay"/>
|
||||
</seealso>
|
||||
</element>
|
||||
|
||||
</module> <!-- BaseUnix -->
|
||||
</package>
|
||||
</fpdoc-descriptions>
|
||||
|
1526
docs/classes.xml
1526
docs/classes.xml
File diff suppressed because it is too large
Load Diff
@ -748,6 +748,15 @@ None.
|
||||
<example file="objectex/ex8"/>
|
||||
</element>
|
||||
|
||||
<element name="TObject.Is_Object">
|
||||
<short>Check whether a pointer points to an object.</short>
|
||||
<descr>
|
||||
<var>Is_Object</var> returns <var>True</var> if the pointer <var>P</var>
|
||||
points to an instance of a <var>TObject</var> descendent, it returns
|
||||
<var>false</var> otherwise.
|
||||
</descr>
|
||||
</element>
|
||||
|
||||
|
||||
<element name="TStream">
|
||||
<short>Base stream class</short>
|
||||
@ -778,6 +787,14 @@ instead instantiate a descendant type, such as <var>TDosStream</var>,
|
||||
<short>Pointer type to <link id="TStream"/></short>
|
||||
</element>
|
||||
|
||||
<element name="TStream.Init">
|
||||
<short>Constructor for TStream instance</short>
|
||||
<descr>
|
||||
<var>Init</var> initializes a TStream instance. Descendent streams should
|
||||
always call the inherited <var>Init</var>.
|
||||
</descr>
|
||||
</element>
|
||||
|
||||
<element name="TStream.Status">
|
||||
<short>Current stream status</short>
|
||||
</element>
|
||||
|
@ -2871,11 +2871,11 @@ Offset from frame pointer & What is stored \\ \hline
|
||||
|
||||
Constructor and destructors have special invisible parameters
|
||||
which are passed to them. These invisible parameters are used
|
||||
internally to instanciate the objects and classes.
|
||||
internally to instantiate the objects and classes.
|
||||
|
||||
\subsection{objects}
|
||||
|
||||
The actual invisible declaration of an object constructoir
|
||||
The actual invisible declaration of an object constructor
|
||||
is as follows:
|
||||
|
||||
\begin{verbatim}
|
||||
|
@ -392,6 +392,11 @@ parsed as 64-bit integer constants as of version 1.9.0. Earliers
|
||||
versions would convert it to a real-typed constant.
|
||||
\end{remark}
|
||||
|
||||
\begin{remark}
|
||||
Note that Octal and Binary notation are not supported in TP or Delphi compatibility
|
||||
mode.
|
||||
\end{remark}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Labels
|
||||
\section{Labels}
|
||||
|
126
docs/unix.xml
126
docs/unix.xml
@ -962,31 +962,6 @@
|
||||
<short>Pointer to <link id="SigActionRec"/> record type.</short>
|
||||
</element>
|
||||
|
||||
<!-- record type Visibility: default -->
|
||||
<element name="timezone">
|
||||
<short>Record describing a timezone</short>
|
||||
</element>
|
||||
|
||||
<!-- variable Visibility: default -->
|
||||
<element name="timezone.minuteswest">
|
||||
<short>Minutes west of GMT</short>
|
||||
</element>
|
||||
|
||||
<!-- variable Visibility: default -->
|
||||
<element name="timezone.dsttime">
|
||||
<short>Daylight savings time</short>
|
||||
</element>
|
||||
|
||||
<!-- pointer type Visibility: default -->
|
||||
<element name="ptimezone">
|
||||
<short>Pointer to <link id="TimeZone"/> record.</short>
|
||||
</element>
|
||||
|
||||
<!-- alias type Visibility: default -->
|
||||
<element name="TTimeZone">
|
||||
<short>Alias for <link id="TimeZone"/> record.</short>
|
||||
</element>
|
||||
|
||||
<element name="S_IFMT">
|
||||
<short>File (<link id="#rtl.baseunix.stat"/> record) mode: File type bit mask</short>
|
||||
</element>
|
||||
@ -2440,6 +2415,107 @@ function.
|
||||
</seealso>
|
||||
</element>
|
||||
|
||||
<element name="MAP_PRIVATE">
|
||||
<short><link id="FpMMap"/> map type: Changes are private</short>
|
||||
</element>
|
||||
<element name="MAP_ANONYMOUS">
|
||||
<short><link id="FpMMap"/> map type: Don't use a file</short>
|
||||
</element>
|
||||
<element name="MAP_GROWSDOWN">
|
||||
<short><link id="FpMMap"/> option: Memory grows downward (like a stack)</short>
|
||||
</element>
|
||||
<element name="MAP_DENYWRITE">
|
||||
<short><link id="FpMMap"/> option: Ignored.</short>
|
||||
</element>
|
||||
<element name="MAP_EXECUTABLE">
|
||||
<short><link id="FpMMap"/> option: Ignored.</short>
|
||||
</element>
|
||||
<element name="MAP_LOCKED">
|
||||
<short><link id="FpMMap"/> option: lock the pages in memory.</short>
|
||||
</element>
|
||||
<element name="MAP_NORESERVE">
|
||||
<short><link id="FpMMap"/> option: Do not reserve swap pages for this memory.</short>
|
||||
</element>
|
||||
<element name="MAP_SHARED">
|
||||
<short><link id="FpMMap"/> map type: Share changes</short>
|
||||
</element>
|
||||
<element name="MAP_TYPE">
|
||||
<short><link id="FpMMap"/> map type: Bitmask for type of mapping</short>
|
||||
</element>
|
||||
<element name="MAP_FIXED">
|
||||
<short><link id="FpMMap"/> map type: Interpret addr exactly</short>
|
||||
</element>
|
||||
|
||||
<element name="PROT_READ">
|
||||
<short><link id="FpMMap"/> memory access: page can be read</short>
|
||||
</element>
|
||||
<element name="PROT_WRITE">
|
||||
<short><link id="FpMMap"/> memory access: page can be written</short>
|
||||
</element>
|
||||
<element name="PROT_EXEC">
|
||||
<short><link id="FpMMap"/> memory access: page can be executed</short>
|
||||
</element>
|
||||
<element name="PROT_NONE">
|
||||
<short><link id="FpMMap"/> memory access: page can not be accessed</short>
|
||||
</element>
|
||||
|
||||
<element name="cchar">
|
||||
<short>Alias for <link id="#rtl.UnixType.cchar"/></short>
|
||||
</element>
|
||||
|
||||
<element name="cuchar">
|
||||
<short>Alias for <link id="#rtl.UnixType.cuchar"/></short>
|
||||
</element>
|
||||
|
||||
<element name="cunsigned">
|
||||
<short>Alias for <link id="#rtl.unixtype.cunsigned"/></short>
|
||||
</element>
|
||||
|
||||
<element name="pcchar">
|
||||
<short>Alias for <link id="#rtl.UnixType.pcchar"/></short>
|
||||
</element>
|
||||
|
||||
<element name="pcuchar">
|
||||
<short>Alias for <link id="#rtl.UnixType.pcuchar"/></short>
|
||||
</element>
|
||||
|
||||
<element name="pcunsigned">
|
||||
<short>Alias for <link id="#rtl.unixtype.pcunsigned"/></short>
|
||||
</element>
|
||||
|
||||
<element name="TStatFS">
|
||||
<short>Record describing a file system in the <link id="baseunix.fpstatfs"/> call.</short>
|
||||
</element>
|
||||
<element name="TStatFS.fstype">
|
||||
<short>File system type</short>
|
||||
</element>
|
||||
<element name="TStatFS.bsize">
|
||||
<short>Block size</short>
|
||||
</element>
|
||||
<element name="TStatFS.blocks">
|
||||
<short>Total number of blocks</short>
|
||||
</element>
|
||||
<element name="TStatFS.bfree">
|
||||
<short>Number of free blocks</short>
|
||||
</element>
|
||||
<element name="TStatFS.bavail">
|
||||
<short>Number of available blocks</short>
|
||||
</element>
|
||||
<element name="TStatFS.files">
|
||||
<short>Number of files</short>
|
||||
</element>
|
||||
<element name="TStatFS.ffree">
|
||||
<short>?</short>
|
||||
</element>
|
||||
<element name="TStatFS.fsid">
|
||||
<short>?</short>
|
||||
</element>
|
||||
<element name="TStatFS.namelen">
|
||||
<short>Max name length for files.</short>
|
||||
</element>
|
||||
<element name="TStatFS.spare">
|
||||
<short>Pad bytes. Do not use.</short>
|
||||
</element>
|
||||
|
||||
</module> <!-- Unix -->
|
||||
</package>
|
||||
|
@ -126,6 +126,31 @@ sizes and conventions of the platform to which the compiler is ported.
|
||||
<short>Pointer to <link id="cuShort"/> type.</short>
|
||||
</element>
|
||||
|
||||
<element name="cchar">
|
||||
<short>C type: 8-bit signed integer</short>
|
||||
</element>
|
||||
|
||||
<element name="cuchar">
|
||||
<short>C type: 8-bit unsigned integer</short>
|
||||
</element>
|
||||
|
||||
<element name="cunsigned">
|
||||
<short>Alias for <link id="#rtl.unixtype.cuint"/></short>
|
||||
</element>
|
||||
|
||||
<element name="pcchar">
|
||||
<short>Pointer to <link id="#rtl.UnixType.cchar"/></short>
|
||||
</element>
|
||||
|
||||
<element name="pcuchar">
|
||||
<short>Pointer to <link id="#rtl.UnixType.cuchar"/></short>
|
||||
</element>
|
||||
|
||||
<element name="pcunsigned">
|
||||
<short>Pointer to <link id="#rtl.unixtype.cunsigned"/></short>
|
||||
</element>
|
||||
|
||||
|
||||
<!-- alias type Visibility: default -->
|
||||
<element name="dev_t">
|
||||
<short>Device descriptor type.</short>
|
||||
@ -786,6 +811,23 @@ anytime.
|
||||
<element name="SIG_MAXSIG">
|
||||
<short>Maximum signal number.</short>
|
||||
</element>
|
||||
|
||||
<!-- constant Visibility: default -->
|
||||
<element name="Prio_Process">
|
||||
<short><link id="#rtl.unix.fpGetPriority"/> option: Get process priority.</short>
|
||||
</element>
|
||||
|
||||
<!-- constant Visibility: default -->
|
||||
<element name="Prio_PGrp">
|
||||
<short><link id="rtl.unix.fpGetPriority"/> option: Get process group priority.</short>
|
||||
</element>
|
||||
|
||||
<!-- constant Visibility: default -->
|
||||
<element name="Prio_User">
|
||||
<short><link id="#rtl.unix.fpGetPriority"/> option: Get user priority.</short>
|
||||
</element>
|
||||
|
||||
|
||||
</module> <!-- unixtype -->
|
||||
</package>
|
||||
</fpdoc-descriptions>
|
||||
|
Loading…
Reference in New Issue
Block a user