OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [uClibc/] [libc/] [misc/] [dirent/] [telldir.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1325 phoenix
#include <dirent.h>
2
#include <errno.h>
3
#include <unistd.h>
4
#include "dirstream.h"
5
 
6
 
7
long int telldir(DIR * dir)
8
{
9
        if (!dir) {
10
                __set_errno(EBADF);
11
                return -1;
12
        }
13
 
14
        /* The next entry. */
15
        return dir->dd_nextoff;
16
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.