PropWare  3.0.0.229
C++ objects and CMake build system for Parallax Propeller
types.h
1 /* placeholder sys/types.h */
2 
3 #ifndef _SYS_TYPES_H
4 #define _SYS_TYPES_H
5 
6 #include <sys/size_t.h>
7 #include <sys/wchar_t.h>
8 #include <time.h> /* for time_t */
9 
10 #ifndef __OFF_T_DEFINED__
11 typedef long off_t;
12 #define __OFF_T_DEFINED__
13 #endif
14 #ifndef __SSIZE_T_DEFINED__
15 typedef long ssize_t;
16 #define __OFF_T_DEFINED__
17 #endif
18 
19 typedef int dev_t;
20 typedef int ino_t;
21 typedef unsigned int mode_t;
22 typedef int st_nlink;
23 
24 struct stat {
25  int st_dev; /* ID of device containing file */
26  int st_ino; /* inode number */
27  unsigned int st_mode; /* protection */
28  int st_nlink;
29  unsigned short st_uid;
30  unsigned short st_gid;
31  int st_rdev;
32  long st_size;
33  long st_blksize;
34  long st_blocks;
35  time_t st_atime;
36  time_t st_mtime;
37  time_t st_ctime;
38 };
39 
40 #endif
stat
Definition: types.h:24