creat64(2)creat64(2)NAMEcreat64(), fstat64(), fstatvfs64(), getrlimit64(), lockf64(),
lseek64(), lstat64(), mmap64(), open64(), pread64(), prealloc64(),
pwrite64(), setrlimit64(), stat64(), statvfs64(), truncate64(), ftrun‐
cate64(), O_LARGEFILE - non-POSIX standard API interfaces to support
large files
SYNOPSISDESCRIPTION
New API's to support large files in 32-bit applications. These API
interfaces are not a part of the POSIX standard and may be removed in
the future.
The function returns a file descriptor which can
be used to grow the file past 2 GB if desired.
All other functional behaviors, returns, and
errors are identical to
The function is identical to except that returns
file status in a instead of a All other func‐
tional behaviors, returns, and errors are
identical.
The function is indentical to except that returns
file status in a struct instead of a struct
The function is identical to except that passes a
as its second parameter instead of a All other
functional behaviors, returns, and errors are
identical.
The function is identical to except that accepts
an for the size parameter instead of All other
functional behaviors, returns, and errors are
identical.
The function is identical to except that accepts
an type as the desired offset and has a return
value of All other functional behaviors,
returns, and errors are identical.
The function is identical to except that returns
file status in a instead of All other func‐
tional behaviors, returns, and errors are
identical.
The function is identical to except that accepts
the file offset as an
The function opens files of any size. It returns
a file descriptor which can be used to grow
the file past 2 GB if desired. All other func‐
tional behaviors, returns, and errors are
identical to
The function is identical to except that accepts
the file offset as an All other functional
behaviors, returns, and errors are identical
to
The function is identical to except that accepts
the file offset as an All other functional
behaviors, returns, and errors are identical
to
The function is identical to except that accepts
the file offset as an All other functional
behaviors, returns, and errors are identical
to
The function is identical to except that passes a
as its second parameter instead of a All other
functional behaviors, returns, and errors are
identical.
The function is identical to except that returns
file status in a instead of a
Refer to
The function is identical to except that accepts
the length parameter as an instead of All
other functional behaviors, returns, and
errors are identical to
The function is identical to except that accepts
the length parameter as an instead of All
other functional behaviors, returns, and
errors are identical to
Setting in a call to or is equivalent to calling or
both of which set in the file status flags.
This bit is automatically set by and if is set
to 64. The bit may be queried by (or which
can also turn the bit on or off if desired.
APPLICATION USAGE
The standard POSIX interfaces may be used by 32-bit applications to
create and access large files if compiled with set to 64.
The interfaces described here are alternatives to the standard ones,
and are enabled by defining
For 64-bit applications, access to large files is automatic, as long as
the underlying file system is enabled for large files. The interfaces
on this man page are available to 64-bit applications, for convenience
in porting, but provide no additional capabilities. The exception is
which is not visible to 64-bit applications.
SEE ALSOcreat(2), thread_safety(5).
creat64(2)