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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [include/] [sys/] [dirent.h] - Blame information for rev 199

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
#ifdef _SYS_DIR_H
2
#error "Can't include both sys/dir.h and sys/dirent.h"
3
#define _SYS_DIRENT_H
4
#endif
5
 
6
#ifndef _SYS_DIRENT_H
7
#define _SYS_DIRENT_H
8
 
9
#include <features.h>
10
 
11
#include <limits.h>
12
#include <sys/types.h>  /* for type off_t in dirent.h */
13
#include <linux/dirent.h>
14
 
15
#ifndef DIRSIZ
16
#define DIRSIZ NAME_MAX
17
#endif
18
 
19
__BEGIN_DECLS
20
 
21
extern int getdents __P((int __fildes, struct dirent *__buf,
22
                        size_t __nbyte));
23
extern int __getdents __P((int __fildes, struct dirent *__buf,
24
                        size_t __nbyte));
25
 
26
__END_DECLS
27
 
28
#endif

powered by: WebSVN 2.1.0

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