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

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

tell

Syntax

 
#include <io.h>

off_t tell(int file);

Description

This function returns the location of the file pointer for file.

Return Value

The file pointer, or -1 on error.

Portability

ANSI/ISO C No
POSIX No

Example

 
off_t q = tell(fd);


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