Usermode - Working on AxWin3 SubWin widget (also API change for SysSpawn)
[tpg/acess2.git] / Usermode / Libraries / ld-acess.so_src / include_exp / sys / types.h
1 /*
2  */
3 #ifndef _SYS_TYPES_H
4 #define _SYS_TYPES_H
5
6 #include "../acess/intdefs.h"
7
8 typedef struct stat     t_fstat;
9
10 #define FD_SETSIZE      128
11
12
13 #define CLONE_VM        0x10
14
15 typedef unsigned int    id_t;
16 typedef unsigned long   pid_t;
17 typedef unsigned long   tid_t;
18 typedef signed long long int    time_t;
19 typedef long long int   off_t;
20
21 typedef unsigned int    uint;
22
23 typedef unsigned short  fd_set_ent_t;
24
25 /**
26  * \brief fd_set for select()
27  */
28 typedef struct
29 {
30         fd_set_ent_t    flags[FD_SETSIZE/16];
31 }       fd_set;
32
33 #include "../acess/syscall_types.h"
34
35 extern void     FD_ZERO(fd_set *fdsetp);
36 extern void     FD_CLR(int fd, fd_set *fdsetp);
37 extern void     FD_SET(int fd, fd_set *fdsetp);
38 extern int      FD_ISSET(int fd, fd_set *fdsetp);
39
40 #include "../sys/stat.h"
41
42 #endif

UCC git Repository :: git.ucc.asn.au