pwrite - write on a file
#include <unistd.h> ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset);
Refer to write().