*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> telldir (3)              
Title
Content
Arch
Section
 

TELLDIR(3)

Contents


NAME    [Toc]    [Back]

       telldir - return current location in directory stream.

SYNOPSIS    [Toc]    [Back]

       #include <dirent.h>

       off_t telldir(DIR *dir);

DESCRIPTION    [Toc]    [Back]

       The telldir() function returns the current location associated with the
       directory stream dir.

RETURN VALUE    [Toc]    [Back]

       The telldir() function returns the current location  in	the  directory
       stream or -1 if an error occurs.

ERRORS    [Toc]    [Back]

       EBADF  Invalid directory stream descriptor dir.

CONFORMING TO    [Toc]    [Back]

       BSD 4.3

SEE ALSO    [Toc]    [Back]

      
      
       opendir(3),  readdir(3),  closedir(3),  rewinddir(3), seekdir(3), scan-
       dir(3)



				  1993-03-31			    TELLDIR(3)
[ Back ]
 Similar pages
Name OS Title
pwd IRIX Return the current working directory
index IRIX return location of FORTRAN substring
pthread_stackseg_np OpenBSD return stack size and location
index IRIX return location of FORTRAN substring
rewinddir Linux reset directory stream
seekdir Linux set the position of the next readdir() call in the directory stream.
pxfchdir IRIX Changes the current directory to a specified directory
rexec FreeBSD return stream to a remote command
fparseln FreeBSD return the next logical line from a stream
rexec OpenBSD return stream to a remote command
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service