Home
March 20, 2010 11:06:38 AM EST
home
back print
TELLDIR   (3) manpage
TELLDIR
3
2007-07-26
Linux Programmer's Manual
  • NAME
      telldir - return current location in directory stream
  • SYNOPSIS
      
       #include <dirent.h>
      
       off_t telldir(DIR * dirp );
      

      Feature Test Macro Requirements for glibc (see
      feature_test_macros(7) ):


      telldir ():
      _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE
  • DESCRIPTION
      The
      telldir ()
      function returns the current location associated with
      the directory stream dirp.
  • RETURN VALUE
      On success, the
      telldir ()
      function returns the current location
      in the directory stream.
      On error, -1 is returned, and
      errno
      is set appropriately.
  • ERRORS
      EBADF
      Invalid directory stream descriptor dirp.
  • CONFORMING TO
      4.3BSD, POSIX.1-2001.
  • SEE ALSO
  • COLOPHON
      This page is part of release 3.19 of the Linux
      man-pages
      project.
      A description of the project,
      and information about reporting bugs,
      can be found at
      http://www.kernel.org/doc/man-pages/.


Current Users: 119 © 1999-2009 PenguinSoft. All trademarks and copyrights on this page are owned by their respective companies. Linux is a trademark of Linus Torvalds.