en:docs:dos:api:int21:55

Differences

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

Link to this comparison view

en:docs:dos:api:int21:55 [2021/05/02 05:50] – created prokusheven:docs:dos:api:int21:55 [2024/05/03 03:43] (current) prokushev
Line 26: Line 26:
 ===== Notes ===== ===== Notes =====
  
- creates a "child" PSP rather than making an exact copy of the current +creates a "child" PSP rather than making an exact copy of the current PSP; the new PSP's parent pointer is set to the current PSP and the reference count for each inherited file is incremented 
-   PSP; the new PSP's parent pointer is set to the current PSP and the + 
-   reference count for each inherited file is incremented +(DOS 2.0+) sets current PSP to DX 
- (DOS 2.0+) sets current PSP to DX + 
- (DOS 3.0+) marks "no inherit" file handles as closed in child PSP +(DOS 3.0+) marks "no inherit" file handles as closed in child PSP 
- this function is implemented using the same code as AH=26h, so unlike + 
-   other DOS 2+ functions, it does not return status in CF, instead +this function is implemented using the same code as AH=26h, so unlike other DOS 2+ functions, it does not return status in CF, instead returning status in AL as DOS 1.x functions do (but it never puts an explicit return value in AL)
-   returning status in AL as DOS 1.x functions do (but it never puts an +
-   explicit return value in AL)+
                      
 ===== See also ===== ===== See also =====
  
-  AH=26h,AH=50h+AH=[[en:docs:dos:api:int21:26|26h]],AH=[[en:docs:dos:api:int21:50|50h]]
  
 ===== Note ===== ===== Note =====