Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
x68000:doscall [2019/08/27 20:45]
127.0.0.1 external edit
x68000:doscall [2020/01/26 15:53]
sigvec fixed arguments for _SEEK
Line 513: Line 513:
 ^$FF42^<​BOOKMARK:​seek>​_SEEK^Move file pointer^ ^$FF42^<​BOOKMARK:​seek>​_SEEK^Move file pointer^
 |Arg 1|FILENO.w|File handle| |Arg 1|FILENO.w|File handle|
-|Arg 2|MODE.w|Movement mode|+|Arg 2|OFFSET.w|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.)|||
 
 x68000/doscall.txt · Last modified: 2020/01/26 15:54 by sigvec
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Driven by DokuWiki