DOS_ABANDON

Abandon a file
Function AddressDescription
DOS_ABANDON 010CAbandon a file

Synopsys

Abandon a file

Similar to DOS CLOSE, except that any header, or data, or directory data yet to be written to disk is discarded. This routine should only be used to force a file closed in the event that DOS CLOSE is unable to close the file (for example, if the media is damaged or permanently changed or removed).

Entry Parameters

Register Content
B File number 0…15

Exit Parameters

If OK:
Carry true
A corrupt
Otherwise:
Carry false
A=Error code
Always:
BC DE HL IX corrupt, all other registers preserved.
Last modified November 24, 2021: Start of +3DOS documentation (253d8cc)