mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
msvcrt: Implement _fseeki64.
This commit is contained in:
parent
38d1ea2a5b
commit
e81a929e6b
@ -648,7 +648,7 @@
|
||||
@ varargs _fscanf_l(ptr str ptr) msvcrt._fscanf_l
|
||||
@ varargs _fscanf_s_l(ptr str ptr) msvcrt._fscanf_s_l
|
||||
@ stub _fseek_nolock
|
||||
@ stub _fseeki64
|
||||
@ cdecl _fseeki64(ptr int64 long) msvcrt._fseeki64
|
||||
@ stub _fseeki64_nolock
|
||||
@ cdecl _fsopen(str str long) msvcrt._fsopen
|
||||
@ stub _fstat32
|
||||
|
@ -489,7 +489,7 @@
|
||||
@ varargs _fscanf_l(ptr str ptr) msvcrt._fscanf_l
|
||||
@ varargs _fscanf_s_l(ptr str ptr) msvcrt._fscanf_s_l
|
||||
@ stub _fseek_nolock
|
||||
@ stub _fseeki64
|
||||
@ cdecl _fseeki64(ptr int64 long) msvcrt._fseeki64
|
||||
@ stub _fseeki64_nolock
|
||||
@ cdecl _fsopen(str str long) msvcrt._fsopen
|
||||
@ stub _fstat32
|
||||
|
@ -481,7 +481,7 @@
|
||||
@ varargs _fscanf_l(ptr str ptr) msvcrt._fscanf_l
|
||||
@ varargs _fscanf_s_l(ptr str ptr) msvcrt._fscanf_s_l
|
||||
@ stub _fseek_nolock
|
||||
@ stub _fseeki64
|
||||
@ cdecl _fseeki64(ptr int64 long) msvcrt._fseeki64
|
||||
@ stub _fseeki64_nolock
|
||||
@ cdecl _fsopen(str str long) msvcrt._fsopen
|
||||
@ stub _fstat32
|
||||
|
@ -942,9 +942,9 @@ int CDECL MSVCRT__locking(int fd, int mode, LONG nbytes)
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* fseek (MSVCRT.@)
|
||||
* _fseeki64 (MSVCRT.@)
|
||||
*/
|
||||
int CDECL MSVCRT_fseek(MSVCRT_FILE* file, MSVCRT_long offset, int whence)
|
||||
int CDECL MSVCRT__fseeki64(MSVCRT_FILE* file, __int64 offset, int whence)
|
||||
{
|
||||
/* Flush output if needed */
|
||||
if(file->_flag & MSVCRT__IOWRT)
|
||||
@ -973,7 +973,15 @@ int CDECL MSVCRT_fseek(MSVCRT_FILE* file, MSVCRT_long offset, int whence)
|
||||
}
|
||||
/* Clear end of file flag */
|
||||
file->_flag &= ~MSVCRT__IOEOF;
|
||||
return (MSVCRT__lseek(file->_file,offset,whence) == -1)?-1:0;
|
||||
return (MSVCRT__lseeki64(file->_file,offset,whence) == -1)?-1:0;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* fseek (MSVCRT.@)
|
||||
*/
|
||||
int CDECL MSVCRT_fseek(MSVCRT_FILE* file, MSVCRT_long offset, int whence)
|
||||
{
|
||||
return MSVCRT__fseeki64( file, offset, whence );
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
|
@ -435,7 +435,7 @@
|
||||
# stub _fscanf_l
|
||||
@ varargs _fscanf_l(ptr str ptr) MSVCRT__fscanf_l
|
||||
@ varargs _fscanf_s_l(ptr str ptr) MSVCRT__fscanf_s_l
|
||||
# stub _fseeki64
|
||||
@ cdecl _fseeki64(ptr int64 long) MSVCRT__fseeki64
|
||||
@ cdecl _fsopen(str str long) MSVCRT__fsopen
|
||||
@ cdecl _fstat(long ptr) MSVCRT__fstat
|
||||
@ cdecl _fstat64(long ptr) MSVCRT__fstat64
|
||||
|
Loading…
Reference in New Issue
Block a user