Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
en:docs:mvm:api:0 [2024/05/08 02:59] – created prokushev | en:docs:mvm:api:0 [2024/05/18 06:18] – prokushev | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Input ===== | ===== Input ===== | ||
+ | * BX = file handle | ||
===== Return ===== | ===== Return ===== | ||
+ | * CF clear if successful | ||
+ | * AX = new handle | ||
+ | * CF set on error | ||
+ | * AX = error code (04h,06h) (too many open files (no handles available), invalid handle) | ||
===== 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 duplicating the file handle and closing the duplicate | ||
+ | | ||
===== See also ===== | ===== See also ===== | ||
- | |||
- | |||