Back to index

glibc  2.9
Functions
llseek.c File Reference
#include <errno.h>
#include <sys/types.h>
#include <sysdep.h>
#include <sys/syscall.h>

Go to the source code of this file.

Functions

loff_t __llseek (int fd, loff_t offset, int whence)

Function Documentation

loff_t __llseek ( int  fd,
loff_t  offset,
int  whence 
)

Definition at line 30 of file llseek.c.

{
  loff_t retval;

  return (loff_t) (INLINE_SYSCALL (_llseek, 5, fd, (off_t) (offset >> 32),
                               (off_t) (offset & 0xffffffff),
                               __ptrvalue (&retval), whence) ?: retval);
}