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

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

fgetpos

Syntax

 
#include <stdio.h>

int fgetpos(FILE *file, fpos_t *offset);

Description

This function records the current file pointer for file, for later use by fsetpos.

See section fsetpos. See section ftell.

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