fgetpos64.3s (2010 09)
f
fgetpos64(3S) fgetpos64(3S)
NAME
fgetpos64( ), fopen64( ), freopen64( ), fseeko64( ), fsetpos64( ), fstatvfsdev64( ), ftello64( ), ftw64( ), nftw64( ),
statvfsdev64( ), tmpfile64( ) - non-POSIX standard API interfaces to support large files.
SYNOPSIS
#include <stdio.h>
int fgetpos64(FILE *stream, fpos64_t *pos);
#include <stdio.h>
FILE *fopen64(const char *pathname, const char *type);
#include <stdio.h>
FILE *freopen64(const char *pathname, const char *type, FILE *stream);
#include <stdio.h>
int fseeko64(FILE *stream, off64_t *offset, int whence);
#include <stdio.h>
int fsetpos64(FILE *stream, const fpos64_t *pos);
#include <sys/statvfs.h>
int fstatvfsdev64(int filedes, struct statvfs64 *buf);
#include <stdio.h>
off64_t ftello64(FILE *stream);
#include <ftw.h>
int ftw64(const char *path,
int (*fn)(const char *obj_path,
const struct stat64 *obj_stat,
int obj_flags),
int depth);
#include <ftw.h>
int nftw64(const char *path,
int (*fn)(const char *obj_path,
const struct stat64 *obj_stat,
int obj_flags,
struct FTW obj_FTW),
int depth,
int flags);
#include <sys/statvfs.h>
int statvfsdev64(const char *path, struct statvfs64 *buf);
#include <stdio.h>
FILE *tmpfile64(void);
DESCRIPTION
New API’s to support large files. These API interfaces are not a part of the POSIX standard and may be
removed in the future.
fgetpos64() The fgetpos64() function is identical to fgetpos() except that fget-
pos64() returns the position in a fpos64_t instead of a fpos_t. All other
functional behaviors, returns, and errors are identical.
fopen64() The fopen64() function is identical to fopen() in 64-bit compile environ-
ment. The fopen64() function returns a pointer to a FILE which can be used
to grow the file past 2 GB if desired. All other functional behaviors, returns, and
errors are identical to fopen().
freopen64() The freopen64() function is identical to freopen() in 64-bit compile
environment. The freopen64() function returns a pointer to a FILE which
can be used to grow the file past 2 GB if desired. All other functional behaviors,
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1