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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-newlib/] [newlib-1.17.0/] [newlib/] [libc/] [sys/] [linux/] [sys/] [stat.h] - Blame information for rev 9

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 9 jlechner
/* 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
#include <_ansi.h>
11
#include <sys/types.h>
12
#include <linux/time.h>
13
#define __KERNEL__
14
#include <linux/stat.h>
15
#undef __KERNEL__
16
 
17
/* --- redundant stuff below --- */
18
 
19
 
20
int     _EXFUN(fstat,( int __fd, struct stat *__sbuf ));
21
int     _EXFUN(mkdir,( const char *_path, mode_t __mode ));
22
int     _EXFUN(mkfifo,( const char *__path, mode_t __mode ));
23
int     _EXFUN(stat,( const char *__path, struct stat *__sbuf ));
24
mode_t  _EXFUN(umask,( mode_t __mask ));
25
 
26
#ifndef _POSIX_SOURCE
27
int     _EXFUN(fstat64,( int __fd, struct stat64 *__sbuf ));
28
int     _EXFUN(lstat,( const char *file_name, struct stat64 *buf));
29
int     _EXFUN(lstat64,( const char *file_name, struct stat64 *buf));
30
int     _EXFUN(stat64,( const char *__path, struct stat64 *__sbuf ));
31
#endif /* _POSIX_SOURCE */
32
 
33
#endif /* _SYS_STAT_H */

powered by: WebSVN 2.1.0

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