pwrite64

Name

pwrite64 --  (Large File Support)

Synopsis

#include <unistd.h>

ssize_t pwrite64(int fd, const void *buf, size_t nbytes, off64_t offset);

Description

The pwrite64() function writes NBYTES of BUF to FD at given position OFFSET without changing the file position.

The pwrite64() function is a 64-bit version of pwrite.

RETURN VALUE

The pwrite64() function returns the number written, or -1.