Jump to content

MFS TERM: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
No edit summary
 
Line 10: Line 10:
==Remarks==
==Remarks==
The system will NOT free any memory explicitly allocated by the mini-FSD through [[MFSH_SEGALLOC]] or FSH_SEGALLOC. It must be explicitly freed by the mini-FSD. (Memory allocated by the mini-FSD and 'given' to the FSD need not be freed.) The system will free all of the segments loaded as part of the mini-FSD image immediately after this call.
The system will NOT free any memory explicitly allocated by the mini-FSD through [[MFSH_SEGALLOC]] or FSH_SEGALLOC. It must be explicitly freed by the mini-FSD. (Memory allocated by the mini-FSD and 'given' to the FSD need not be freed.) The system will free all of the segments loaded as part of the mini-FSD image immediately after this call.
[[Category:IFS Interfaces]]

Latest revision as of 21:29, 20 November 2019

Inform the mini-FSD that it should prepare itself for termination.

Syntax

int far pascal MFS_TERM(void)

Returns

If no error is detected, a zero error code is returned. If an error is detected, a non-zero error code is returned.

Remarks

The system will NOT free any memory explicitly allocated by the mini-FSD through MFSH_SEGALLOC or FSH_SEGALLOC. It must be explicitly freed by the mini-FSD. (Memory allocated by the mini-FSD and 'given' to the FSD need not be freed.) The system will free all of the segments loaded as part of the mini-FSD image immediately after this call.