www.delorie.com/djgpp/doc/libc/libc_355.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

fsetpos

Syntax

 
#include <stdio.h>

int fsetpos(FILE *file, const fpos_t *offset);

Description

This function moves the file pointer for file to position offset, as recorded by fgetpos.

See section fgetpos. See section fseek.

Return Value

Zero if successful, nonzero if not.

Portability

ANSI/ISO C C89; C99
POSIX 1003.2-1992; 1003.1-2001


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004