This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
x68000:doscall [2019/08/27 20:45] 127.0.0.1 external edit |
x68000:doscall [2020/01/26 15:54] (current) sigvec [Detailed Descriptions] |
||
---|---|---|---|
Line 513: | Line 513: | ||
^$FF42^< | ^$FF42^< | ||
|Arg 1|FILENO.w|File handle| | |Arg 1|FILENO.w|File handle| | ||
- | |Arg 2|MODE.w|Movement mode| | + | |Arg 2|OFFSET.l|File offset| |
+ | |Arg 3|MODE.w|Movement mode| | ||
|Return|Offset from the beginning of the file.|| | |Return|Offset from the beginning of the file.|| | ||
|The pointer of the file specified by FILENO is moved based on the specified MODE and OFFSET. Attempts to move past the beginning or end of the file results in an error. The character device can't seek and the current position will always return 0. \\ \\ MODE = 0 - Start \\ MODE = 1 - Current position (Negative offsets will move the pointer forward) \\ MODE = 2 - EOF (offset must be less than or equal to 0.)||| | |The pointer of the file specified by FILENO is moved based on the specified MODE and OFFSET. Attempts to move past the beginning or end of the file results in an error. The character device can't seek and the current position will always return 0. \\ \\ MODE = 0 - Start \\ MODE = 1 - Current position (Negative offsets will move the pointer forward) \\ MODE = 2 - EOF (offset must be less than or equal to 0.)||| |