Mail Archives: djgpp-workers/1998/02/09/17:49:20
--=====================_887086183==_
Content-Type: text/plain; charset="us-ascii"
This patch corrects the spelling error and markup errors that Eli instantly
spotted in the __FSEXT_{set,get}_data example and docs.
This patch is relative to the patch I previously sent.
Randy
randym AT acm DOT org
--=====================_887086183==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="fsext.dif"
*** src/libc/fsext/fsext.txh~1 Mon Feb 2 10:17:26 1998
--- src/libc/fsext/fsext.txh Mon Feb 9 16:45:40 1998
***************
*** 289,301 ****
This function is part of the @ref{File System Extensions}. It is used
to store a descriptor-specific pointer that can later be retrieved by
! @ref{__FSEXT_get_data}. The pointer is not otherwise used.
This is useful when writing an extension that may be handling several
! open psuedo-files. @code{__FSEXT_set_data} can be used when creating or
opening the file to store a pointer to data about the specific file. Later,
when specific operation needs to be done (e.g. read, write, etc.) a
! pointer to psuedo-file associated with the file descriptor can be fetched
with @code{__FSEXT_get_data}.
@subheading Return Value
--- 289,302 ----
This function is part of the @ref{File System Extensions}. It is used
to store a descriptor-specific pointer that can later be retrieved by
! @code{__FSEXT_get_data} (@pxref{__FSEXT_get_data}. The pointer is not
! otherwise used.
This is useful when writing an extension that may be handling several
! open pseudo-files. @code{__FSEXT_set_data} can be used when creating or
opening the file to store a pointer to data about the specific file. Later,
when specific operation needs to be done (e.g. read, write, etc.) a
! pointer to pseudo-file associated with the file descriptor can be fetched
with @code{__FSEXT_get_data}.
@subheading Return Value
***************
*** 551,559 ****
This function is part of the @ref{File System Extensions}. It is used
to retrieve a descriptor-specific pointer that was previously stored
! by @ref{__FSEXT_set_data}. The pointer is not otherwise used.
! @pxref{__FSEXT_set_data} for an example of how this may be used.
@subheading Return Value
--- 552,561 ----
This function is part of the @ref{File System Extensions}. It is used
to retrieve a descriptor-specific pointer that was previously stored
! by @code{__FSEXT_set_data} (@pxref{__FSEXT_set_data}. The pointer is not
! otherwise used.
! @xref{__FSEXT_set_data} for an example of how this may be used.
@subheading Return Value
--=====================_887086183==_
Content-Type: text/plain; charset="us-ascii"
--=====================_887086183==_--
- Raw text -