aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wince/missing/sys/stat.h
blob: 8f5bda59e19a0f4e9dead622a428be08aece4ca5 (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
/* Header is not present in Windows CE SDK */

#include <sys/types.h>

#ifndef __MINGW32CE__
struct stat {
	_dev_t st_dev;
	_ino_t st_ino;
	unsigned short st_mode;
	short st_nlink;
	short st_uid;
	short st_gid;
	_dev_t st_rdev;
	_off_t st_size;
	time_t st_atime;
	time_t st_mtime;
	time_t st_ctime;
};

int stat(const char *, struct stat *);

#endif

#define _S_IFDIR        0040000         /* directory */
#define S_IFDIR  _S_IFDIR