MRPT
1.9.9
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
_
a
b
c
d
e
g
h
i
l
m
n
p
r
s
t
u
v
w
+
Typedefs
_
a
c
f
m
o
p
r
s
t
v
+
Enumerations
e
f
g
m
n
p
s
t
v
+
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Enumerations
a
f
j
l
m
p
r
s
t
v
x
+
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
y
+
Related Functions
c
d
g
m
o
p
t
w
x
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
c
d
f
i
j
s
t
x
+
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
w
x
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
xsfilepos.h
Go to the documentation of this file.
1
/* +------------------------------------------------------------------------+
2
| Mobile Robot Programming Toolkit (MRPT) |
3
| http://www.mrpt.org/ |
4
| |
5
| Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6
| See: http://www.mrpt.org/Authors - All rights reserved. |
7
| Released under BSD License. See details in http://www.mrpt.org/License |
8
+------------------------------------------------------------------------+ */
9
#ifndef XSFILEPOS_H
10
#define XSFILEPOS_H
11
12
/*! \addtogroup cinterface C Interface
13
@{
14
*/
15
16
/*! \typedef XsFilePos
17
\brief The type that is used for positioning inside a file
18
*/
19
/*! \typedef XsIoHandle
20
\brief The type that is used for low-level identification of an open I/O
21
device
22
*/
23
/*! \typedef XsFileHandle
24
\brief The type that is used for low-level identification of an open file
25
*/
26
27
/*! @} */
28
29
#include <stdio.h>
30
#ifdef _WIN32
31
#ifndef _PSTDINT_H_INCLUDED
32
#include "
pstdint.h
"
33
#endif
34
typedef
__int64
XsFilePos
;
35
#ifndef HANDLE
36
#include <windows.h>
37
#endif
38
typedef
HANDLE
XsIoHandle
;
39
#else
40
#include <sys/types.h>
41
/* off_t is practically guaranteed not to be 64 bits on non64 bit systems.
42
We'd better explicitly use __off64_t to be sure of it's size.
43
*/
44
#ifdef __APPLE__
45
typedef
int64_t
XsFilePos
;
46
#else
47
typedef
__off64_t
XsFilePos
;
48
#endif
49
typedef
int32_t
XsIoHandle
;
50
#endif
51
typedef
FILE
XsFileHandle
;
52
53
#endif // file guard
XsIoHandle
HANDLE XsIoHandle
Definition:
xsfilepos.h:38
XsFilePos
__int64 XsFilePos
The type that is used for positioning inside a file.
Definition:
xsfilepos.h:34
int64_t
__int64 int64_t
Definition:
rptypes.h:49
int32_t
__int32 int32_t
Definition:
rptypes.h:46
XsFileHandle
FILE XsFileHandle
Definition:
xsfilepos.h:51
pstdint.h
Page generated by
Doxygen 1.8.14
for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020