Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:docs:dos:api:int21:45 [2021/05/01 15:44] – created prokushev | en:docs:dos:api:int21:45 [2024/05/18 06:15] (current) – prokushev | ||
---|---|---|---|
Line 16: | Line 16: | ||
===== Input ===== | ===== Input ===== | ||
- | AH = 45h | + | * AH = 45h |
- | BX = file handle | + | |
===== Return ===== | ===== Return ===== | ||
- | CF clear if successful | + | * CF clear if successful |
- | | + | |
- | CF set on error | + | |
- | | + | |
===== Notes ===== | ===== Notes ===== | ||
- | | + | moving file pointer for either handle will also move it for the other, because both will refer to the same system file table |
- | | + | |
- | for DOS versions prior to 3.3, file writes may be forced to disk by | + | for DOS versions prior to 3.3, file writes may be forced to disk by duplicating the file handle and closing the duplicate |
- | | + | |
| | ||
===== See also ===== | ===== See also ===== | ||
- | AH=3Dh, | + | AH=[[en: |
===== Note ===== | ===== Note ===== |