HP-UX Reference (11i v2 07/12) - 2 System Calls (vol 5)
c
creat64(2) creat64(2)
NAME
creat64(), fstat64(), fstatvfs64(), getrlimit64(), lockf64(), lseek64(), lstat64(), mmap64(), open64(), pread64(),
prealloc64(), pwrite64(), setrlimit64(), stat64(), statvfs64(), truncate64(), ftruncate64(), O_LARGEFILE -
non-POSIX standard API interfaces to support large files
SYNOPSIS
#include <fcntl.h>
int creat64(const char *path, mode_t mode);
#include <sys/stat.h>
int fstat64(int fildes, struct stat64 *buf);
#include <sys/statvfs.h>
int fstatvfs64(const char *path, struct fstatvfs64 *buf);
#include <sys/resource.h>
int getrlimit64(int resource, struct rlimit64 *rlp);
#include <unistd.h>
int lockf64(int fildes, int function, off64_t size);
#include <unistd.h>
off64_t lseek64(int fildes, off64_t offset, int whence);
#include <sys/stat.h>
int lstat64(const char *, struct stat64 *);
#include <sys/mman.h>
void * mmap64(void addr, size_t len, int prot, int flags,
int fildes, off64_t off);
#include <fcntl.h>
int open64(const char *path, int oflag,...);
#include <unistd.h>
ssize_t pread64(int fildes, void *buf, size_t nbyte, off64_t offset);
#include <unistd.h>
int prealloc64(int fildes, off64_t size);
#include <unistd.h>
ssize_t pwrite64(int fildes, const void *buf, size_t nbyte,
off64_t offset);
#include <sys/resource.h>
int setrlimit64(int resource, const struct rlimit64 *rlp);
#include <sys/stat.h>
int stat64(const char *path, struct stat64 *buf);
#include <sys/statvfs.h>
int statvfs64(const char *path, struct statvfs64 *buf);
#include <unistd.h>
int truncate64(const char *path, off64_t length);
#include <unistd.h>
int ftruncate64(int fildes, off64_t length);
DESCRIPTION
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.
76 Hewlett-Packard Company − 1 − HP-UX 11i Version 2: December 2007 Update