Back to index

glibc  2.9
Functions
fseek.c File Reference
#include "libioP.h"
#include <stdio.h>

Go to the source code of this file.

Functions

int fseek (_IO_FILE *fp, long int offset, int whence)

Function Documentation

int fseek ( _IO_FILE fp,
long int  offset,
int  whence 
)

Definition at line 33 of file fseek.c.

{
  int result;
  CHECK_FILE (fp, -1);
  _IO_acquire_lock (fp);
  result = _IO_fseek (fp, offset, whence);
  _IO_release_lock (fp);
  return result;
}

Here is the caller graph for this function: