en:docs:dos:api:int21:3e

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:docs:dos:api:int21:3e [2021/04/30 03:33] – created prokusheven:docs:dos:api:int21:3e [2024/05/18 09:04] (current) prokushev
Line 16: Line 16:
 ===== Input ===== ===== Input =====
  
-        AH = 3Eh +  * AH = 3Eh 
-        BX = file handle+  BX = file handle
  
 ===== Return ===== ===== Return =====
  
- CF clear if successful +  * CF clear if successful 
-            AX destroyed +    AX destroyed 
-        CF set on error +  CF set on error 
-            AX = error code (06h) (see #01680 at AH=59h/BX=0000h)+    AX = error code (06h) (invalid handle)
  
 ===== Notes ===== ===== Notes =====
  
-  if the file was written to, any pending disk writes are performed, the +if the file was written to, any pending disk writes are performed, the time and date stamps are set to the current time, and the directory entry is updated 
-          time and date stamps are set to the current time, and the directory +           
-          entry is updated +recent versions of DOS preserve AH because some versions of Multiplan had a bug which depended on AH being preserved
-        recent versions of DOS preserve AH because some versions of Multiplan +
-          had a bug which depended on AH being preserved+
                      
 ===== See also ===== ===== See also =====
  
- AH=10h,AH=3Ch,AH=3Dh,INT 2F/AX=1106h,INT 2F/AX=1227h+AH=[[en:docs:dos:api:int21:10|10h]],AH=[[en:docs:dos:api:int21:3c|3Ch]],AH=[[en:docs:dos:api:int21:3d|3Dh]],INT 2F/AX=1106h,INT 2F/AX=1227h
  
 ===== Note ===== ===== Note =====