7#ifndef ZEPHYR_INCLUDE_POSIX_TYPES_H_
8#define ZEPHYR_INCLUDE_POSIX_TYPES_H_
10#if !(defined(CONFIG_ARCH_POSIX) && defined(CONFIG_EXTERNAL_LIBC))
14#if !defined(_CLOCK_T_DECLARED) && !defined(__clock_t_defined)
16#define _CLOCK_T_DECLARED
17#define __clock_t_defined
20#if !defined(_CLOCKID_T_DECLARED) && !defined(__clockid_t_defined)
22#define _CLOCKID_T_DECLARED
23#define __clockid_t_defined
26#ifdef CONFIG_NEWLIB_LIBC
27#include <sys/_pthreadtypes.h>
36#if !defined(_DEV_T_DECLARED) && !defined(__dev_t_defined)
38#define _DEV_T_DECLARED
39#define __dev_t_defined
42#if !defined(_INO_T_DECLARED) && !defined(__ino_t_defined)
44#define _INO_T_DECLARED
45#define __ino_t_defined
48#if !defined(_NLINK_T_DECLARED) && !defined(__nlink_t_defined)
50#define _NLINK_T_DECLARED
51#define __nlink_t_defined
54#if !defined(_UID_T_DECLARED) && !defined(__uid_t_defined)
56#define _UID_T_DECLARED
57#define __uid_t_defined
60#if !defined(_GID_T_DECLARED) && !defined(__gid_t_defined)
62#define _GID_T_DECLARED
63#define __gid_t_defined
66#if !defined(_BLKSIZE_T_DECLARED) && !defined(__blksize_t_defined)
68#define _BLKSIZE_T_DECLARED
69#define __blksize_t_defined
72#if !defined(_BLKCNT_T_DECLARED) && !defined(__blkcnt_t_defined)
74#define _BLKCNT_T_DECLARED
75#define __blkcnt_t_defined
78#if !defined(CONFIG_ARCMWDT_LIBC)
82#ifndef __useconds_t_defined
87#if !defined(CONFIG_NEWLIB_LIBC) && !defined(CONFIG_ARCMWDT_LIBC)
88#if !defined(__clockid_t_defined) && !defined(_CLOCKID_T_DECLARED)
92#if !defined(__timer_t_defined) && !defined(_TIMER_T_DECLARED)
102#if !defined(CONFIG_NEWLIB_LIBC)
120#if !defined(CONFIG_NEWLIB_LIBC)
132#if !defined(CONFIG_NEWLIB_LIBC)
152#if !defined(CONFIG_NEWLIB_LIBC)
int dev_t
Definition posix_types.h:37
uint32_t pthread_cond_t
Definition posix_types.h:126
unsigned long useconds_t
Definition posix_types.h:83
uint32_t pthread_spinlock_t
Definition posix_types.h:108
struct pthread_barrierattr pthread_barrierattr_t
int pid_t
Definition posix_types.h:79
unsigned short gid_t
Definition posix_types.h:61
unsigned long clock_t
Definition posix_types.h:15
uint32_t pthread_t
Definition posix_types.h:107
uint32_t pthread_mutex_t
Definition posix_types.h:114
uint32_t pthread_rwlockattr_t
Definition posix_types.h:144
unsigned long blksize_t
Definition posix_types.h:67
unsigned long clockid_t
Definition posix_types.h:21
unsigned short uid_t
Definition posix_types.h:55
int ino_t
Definition posix_types.h:43
uint32_t pthread_key_t
Definition posix_types.h:153
unsigned short nlink_t
Definition posix_types.h:49
unsigned long timer_t
Definition posix_types.h:93
unsigned long blkcnt_t
Definition posix_types.h:73
uint32_t pthread_rwlock_t
Definition posix_types.h:146
uint32_t pthread_barrier_t
Definition posix_types.h:138
struct k_sem sem_t
Definition posix_types.h:111
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Definition posix_types.h:97
void * stack
Definition posix_types.h:98
uint32_t details[2]
Definition posix_types.h:99
Definition posix_types.h:140
int pshared
Definition posix_types.h:141
Definition posix_types.h:128
clockid_t clock
Definition posix_types.h:129
Definition posix_types.h:116
unsigned char type
Definition posix_types.h:117
bool initialized
Definition posix_types.h:118
Definition posix_types.h:148
bool flag
Definition posix_types.h:149