MFS TERM: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:MFS_TERM}} 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..." |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:MFS_TERM}} | {{DISPLAYTITLE:MFS_TERM}} | ||
Inform the mini-FSD that it should prepare itself for termination. | Inform the mini-FSD that it should prepare itself for termination. | ||
==Syntax== | ==Syntax== | ||
int far pascal MFS_TERM(void) | int far pascal MFS_TERM(void) | ||
==Returns== | ==Returns== | ||
If no error is detected, a zero error code is returned. If an error is detected, a non-zero error code is returned. | If no error is detected, a zero error code is returned. If an error is detected, a non-zero error code is returned. | ||
==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]] | [[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.