<TITLE>telldir</TITLE> <body bgcolor="#ffffcc"> <hr> <pre> <h3>TELLDIR(3) Linux Programmer's Manual TELLDIR(3) </h3> <h3>NAME </h3> telldir - return current location in directory stream. <h3>SYNOPSIS </h3> #include <dirent.h> off_t telldir(DIR *dir); <h3>DESCRIPTION </h3> The telldir() function returns the current location asso- ciated with the directory stream dir. <h3>RETURN VALUE </h3> The telldir() function returns the current location in the directory stream or -1 if an error occurs. <h3>ERRORS </h3> EBADF Invalid directory stream descriptor dir. <h3>CONFORMING TO </h3> BSD 4.3 </pre> <hr> <h3>SEE ALSO </h3><p> <a href=opendir.htm>opendir</a>, <a href=readdir.htm>readdir</a>, <a href=closedir.htm>closedir</a>, <a href=rewinddir.htm>rewinddir</a>, <a href=seekdir.htm>seekdir</a>, <a href=scandir.htm>scandir</a>, <pre> March 31, 1993 1 </pre> <P> <hr> <p> <center> <table border=2 width=80%> <tr align=center> <td width=25%> <a href=../cref.html>Top</a> </td><td width=25%> <a href=../master_index.html>Master Index</a> </td><td width=25%> <a href=../SYNTAX/keywords.html>Keywords</a> </td><td width=25%> <a href=../FUNCTIONS/funcref.htm>Functions</a> </td> </tr> </table> </center> <p> <hr> This manual page was brought to you by <i>mjl_man V-2.0</i> ='/cgit.cgi/linux/net-next.git/refs/'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/arch/powerpc/include/asm'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/arch/powerpc/include/asm'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/arch/powerpc/include/asm'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/arch/powerpc/include/asm'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/arch/powerpc/include/asm'> <select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/arch'>arch</a>/<a href='/cgit.cgi/linux/net-next.git/log/arch/powerpc'>powerpc</a>/<a href='/cgit.cgi/linux/net-next.git/log/arch/powerpc/include'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/arch/powerpc/include/asm'>asm</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/arch/powerpc/include/asm?showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>