Products
and Services Support
and Docs Training Partner Programs About Red
Hat
  download storecart
red hat logo
redhat.comredhat network

Red Hat Documentation: man pages: man3: Linux Programmer's Manual (3)

Manpage of TELLDIR

TELLDIR

Section: Linux Programmer's Manual (3)
Updated: March 31, 2025
Index  

NAME

telldir - return current location in directory stream.  

SYNOPSIS

#include <dirent.h>
off_t telldir(DIR *dir);
 

DESCRIPTION

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

RETURN VALUE

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

ERRORS

EBADF
Invalid directory stream descriptor dir.
 

CONFORMING TO

BSD 4.3  

SEE ALSO


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
CONFORMING TO
SEE ALSO

This document was created by using the manual pages.
Time: 11:58:06 GMT, March 24, 2025

 

 


 
© 2001 Red Hat, Inc. All rights reserved.
About Red Hat  :  Legal statement  :  Privacy statement  :  Y2K statement  :  Contact Red Hat