www.delorie.com/djgpp/doc/libc-2.01/libc_648.html   search  
Go to the first, previous, next, last section, table of contents.


telldir

Syntax

#include <dirent.h>

long telldir(DIR *dir);

Description

This function returns a value which indicates the position of the pointer in the given directory. This value is only useful as an argument to seekdir (see section seekdir).

Return Value

The directory pointer.

Example

DIR *dir;
long q = telldir(dir);
do_something();
seekdir(dir, q);


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997