OS_Cl, Internal close

Register parameters

RST 20H, DEFW $E806
IN:
     IX = file handle

OUT, if call successful:
     Fc = 0

OUT, if call failed:
     Fc = 1
     A = RC_NA, not available

Registers changed after return:
     ..BCDEHL/IXIY same
     AF....../.... different 

Notes

Internal operating system usage. 

 Applications must use GN_Cl. The file handle may not be reused (GN_Cl always returns IX = 0).

Related calls

GN_Cl, close file
GN_Del, delete a file from memory
GN_Opf, open file/resource (wildcard search)
GN_Ren, rename file
OS_Del, file delete (internal OZ usage)
OS_Frm, file read miscellaneous
OS_Fwm, file write miscellaneous
OS_Gb, get byte from file (or device)
OS_Gbt, get byte from file (or device) with timeout
OS_Mv, move bytes between stream and memory
OS_Op, internal open (OZ usage)
OS_Pb, write byte to file, device
OS_Pbt, write byte to file, device with timeout
OS_Ren, file rename (internal OZ usage)

web analytics