31
Input/output library
[input.output]
31.2
Iostreams requirements
[iostreams.requirements]
31.2.2
Types
[stream.types]
🔗
using
streamoff
=
implementation-defined
;
1
#
The type
streamoff
is a synonym for one of the signed basic integral types of sufficient size to represent the maximum possible file size for the operating system
.
264
🔗
using
streamsize
=
implementation-defined
;
2
#
The type
streamsize
is a synonym for one of the signed basic integral types
.
It is used to represent the number of characters transferred in an I/O operation, or the size of I/O buffers
.
265
264)
264)
Typically
long
long
.
265)
265)
Most places where
streamsize
is used would use
size_
t
in ISO C, or
ssize_
t
in POSIX
.