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

Note: This API call is for DOS personality only. Use Family API for portability.

2018/09/07 07:04 · prokushev

Int 21H, AH=4CH

Version

2 and higher

Brief

“EXIT” - TERMINATE WITH RETURN CODE

Family API

Input

AH = 4Ch
AL = return code

Return

never returns

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
  • all network file locks should be removed before calling this function

See also

AH=00h,AH=26h,AH=4Bh,AH=4Dh,INT 15/AH=12h/BH=02h,INT 20,INT 22

Note

DOS API
Process manager INT 20H, INT 21H: 4CH, 00H, INT 22H, INT 27H, INT 28H
File manager INT 25H, INT 26H
Console I/O INT 29H
Signals INT 23H, INT 24H
Memory manager
2018/09/04 19:23 · prokushev

en/docs/dos/api/int21/4c.txt · Last modified: 2018/09/07 07:55 by prokushev