Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stat.h « sys « linux « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bac6a1174563a0c67821b02aee70560bb381c45a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* libc/sys/linux/sys/stat.h - Stat structure and macros */

/* Written 2000 by Werner Almesberger */


#ifndef _SYS_STAT_H
#define _SYS_STAT_H

#include <asm/stat.h>
#define __KERNEL__
#include <linux/stat.h>
#undef __KERNEL__

/* --- redundant stuff below --- */

#include <_ansi.h>
#include <sys/types.h>

int     _EXFUN(fstat,( int __fd, struct stat *__sbuf ));
int     _EXFUN(mkdir,( const char *_path, mode_t __mode ));
int     _EXFUN(mkfifo,( const char *__path, mode_t __mode ));
int     _EXFUN(stat,( const char *__path, struct stat *__sbuf ));
mode_t  _EXFUN(umask,( mode_t __mask ));

#ifndef _POSIX_SOURCE
int	_EXFUN(lstat,( const char *file_name, struct stat *buf));
#endif /* _POSIX_SOURCE */

#endif /* _SYS_STAT_H */