en:docs:dos:api:int21:4c

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:dos:api:int21:4c [2018/09/04 17:05] prokusheven:docs:dos:api:int21:4c [2020/12/07 02:39] (current) – [See also] prokushev
Line 1: Line 1:
-{{logos:dos.gif?35x35}}+{{page>en:templates:dosint}}
  
-====== Int 21H, AH=4C ======+====== Int 21H, AH=4CH ======
  
 ===== Version ===== ===== Version =====
Line 7: Line 7:
 2 and higher 2 and higher
  
-==== Brief ====+===== Brief =====
  
 "EXIT" - TERMINATE WITH RETURN CODE "EXIT" - TERMINATE WITH RETURN CODE
  
-==== Input ====+===== Family API ===== 
 + 
 +[[en:docs:fapi:DosExit]] 
 + 
 +===== Input =====
  
   AH = 4Ch   AH = 4Ch
   AL = return code   AL = return code
  
-=== Return ===+===== Return =====
  
 never returns never returns
  
-=== Notes ===+===== Notes =====
  
   * unless the process is its own parent (see #01378 [offset 16h] at AH=26h), all open files are closed and all memory belonging to the process is freed   * unless the process is its own parent (see #01378 [offset 16h] at AH=26h), all open files are closed and all memory belonging to the process is freed
   * all network file locks should be removed before calling this function   * all network file locks should be removed before calling this function
                  
-=== See also ===+===== See also ===== 
 + 
 +AH=[[en:docs:dos:api:int21:00|00H]], AH=[[en:docs:dos:api:int21:26|26H]], AH=[[en:docs:dos:api:int21:4b|4BH]], AH=[[en:docs:dos:api:int21:4d|4DH]],INT 15/AH=12h/BH=02h,INT 20,INT 22 
 + 
 +===== Note ===== 
 + 
 +Text based on [[http://www.cs.cmu.edu/~ralf/files.html|Ralf Brown Interrupt List Release 61]] 
 + 
 +{{page>en:templates:int}} 
 + 
 +{{page>en:templates:fapi}}
  
-AH=00h,AH=26h,AH=4Bh,AH=4Dh,INT 15/AH=12h/BH=02h,INT 20,INT 22,INT 60/DI=0601h