Back to index

glibc  2.9
pwrite64.c File Reference
#include <errno.h>
#include <unistd.h>
#include <hurd/fd.h>

Go to the source code of this file.


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

Function Documentation

ssize_t __libc_pwrite64 ( int  fd,
const void *  buf,
size_t  nbytes,
off64_t  offset 

Definition at line 26 of file pwrite64.c.

  error_t err;
  if (offset < 0)
    err = EINVAL;
    err = HURD_FD_USE (fd, _hurd_fd_write (descriptor, buf, &nbytes, offset));
  return err ? __hurd_dfail (fd, err) : nbytes;

Here is the call graph for this function: