ReactOS
0.4.16-dev-1946-g52006dd
telli64.cpp
Go to the documentation of this file.
1
//
2
// telli64.cpp
3
//
4
// Copyright (c) Microsoft Corporation. All rights reserved.
5
//
6
// Defines _telli64(), which gets the current position of the file pointer.
7
//
8
#include <
corecrt_internal_lowio.h
>
9
#include <stdio.h>
10
11
12
13
// Gets the current position of the file pointer, without adjustment for
14
// buffering. Returns -1 on error.
15
extern
"C"
__int64
__cdecl
_telli64
(
int
const
fh)
16
{
17
return
_lseeki64
(fh, 0,
SEEK_CUR
);
18
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
__int64
#define __int64
Definition:
basetyps.h:16
corecrt_internal_lowio.h
SEEK_CUR
#define SEEK_CUR
Definition:
util.h:63
_lseeki64
__int64 CDECL _lseeki64(int fd, __int64 offset, int whence)
Definition:
file.c:1138
_telli64
__int64 __cdecl _telli64(int const fh)
Definition:
telli64.cpp:15
sdk
lib
ucrt
lowio
telli64.cpp
Generated on Thu Dec 4 2025 06:16:20 for ReactOS by
1.9.6