Jump to content

FS SETSWAP: Difference between revisions

From EDM2
Created page with "Perform whatever actions are necessary to support the swapper. ==Syntax== FS_SETSWAP(psffsi, psffsd) ==Parameters== ;psffsi: is a pointer to the file-system-independent po..."
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Perform whatever actions are necessary to support the swapper.  
Perform whatever actions are necessary to support the swapper.
 
==Syntax==
==Syntax==
  FS_SETSWAP(psffsi, psffsd)
  FS_SETSWAP(psffsi, psffsd)
==Parameters==
==Parameters==
;psffsi: is a pointer to the file-system-independent portion of an open file instance of the swapper file.  
;''psffsi'' (sffsi) - input: is a pointer to the file-system-independent portion of an open file instance of the swapper file.
;''psffsd'' (sffsd) - input: is a pointer to the file-system-dependent portion of an open file instance.


;psffsd: is a pointer to the file-system-dependent portion of an open file instance.
==Calling Sequence==
==Calling Sequence==
<PRE>
<PRE>
Line 12: Line 14:
struct sffsi far * psffsi;
struct sffsi far * psffsi;
struct sffsd far * psffsd;
struct sffsd far * psffsd;
</PRE>


</PRE>
==Remarks==
==Remarks==
Swapping does not begin until this call returns successfully. This call is made during system initialization.  
Swapping does not begin until this call returns successfully. This call is made during system initialization.


The FSD makes all segments that are relevant to swap-file I/O non-swappable ( see FSH_FORCENOSWAP). This includes any data and code segments accessed during a read or write.  
The FSD makes all segments that are relevant to swap-file I/O non-swappable (see FSH_FORCENOSWAP). This includes any data and code segments accessed during a read or write.


Any FSD that manages writeable media may be the swapper file system.  
Any FSD that manages writeable media may be the swapper file system.


FS_SETSWAP may be called more than once for the same or different volumes or FSDs.  
FS_SETSWAP may be called more than once for the same or different volumes or FSDs.


[[Category:IFS Interfaces]]
[[Category:IFS Interfaces]]
{{DISPLAYTITLE:FS_SETSWAP}}
{{DISPLAYTITLE:FS_SETSWAP}}

Latest revision as of 04:56, 28 May 2025

Perform whatever actions are necessary to support the swapper.

Syntax

FS_SETSWAP(psffsi, psffsd)

Parameters

psffsi (sffsi) - input
is a pointer to the file-system-independent portion of an open file instance of the swapper file.
psffsd (sffsd) - input
is a pointer to the file-system-dependent portion of an open file instance.

Calling Sequence

int far pascal FS_SETSWAP(psffsi, psffsd)

struct sffsi far * psffsi;
struct sffsd far * psffsd;

Remarks

Swapping does not begin until this call returns successfully. This call is made during system initialization.

The FSD makes all segments that are relevant to swap-file I/O non-swappable (see FSH_FORCENOSWAP). This includes any data and code segments accessed during a read or write.

Any FSD that manages writeable media may be the swapper file system.

FS_SETSWAP may be called more than once for the same or different volumes or FSDs.