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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [sys/] [linux/] [sys/] [stat.h] - Blame information for rev 1773

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

Line No. Rev Author Line
1 1010 ivang
/* libc/sys/linux/sys/stat.h - Stat structure and macros */
2
 
3
/* Written 2000 by Werner Almesberger */
4
 
5
 
6
#ifndef _SYS_STAT_H
7
#define _SYS_STAT_H
8
 
9
#include <asm/stat.h>
10
#define __KERNEL__
11
#include <linux/stat.h>
12
#undef __KERNEL__
13
 
14
/* --- redundant stuff below --- */
15
 
16
#include <_ansi.h>
17
#include <sys/types.h>
18
 
19
int     _EXFUN(fstat,( int __fd, struct stat *__sbuf ));
20
int     _EXFUN(mkdir,( const char *_path, mode_t __mode ));
21
int     _EXFUN(mkfifo,( const char *__path, mode_t __mode ));
22
int     _EXFUN(stat,( const char *__path, struct stat *__sbuf ));
23
mode_t  _EXFUN(umask,( mode_t __mask ));
24
 
25
#ifndef _POSIX_SOURCE
26
int     _EXFUN(lstat,( const char *file_name, struct stat *buf));
27
#endif /* _POSIX_SOURCE */
28
 
29
#endif /* _SYS_STAT_H */

powered by: WebSVN 2.1.0

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