2000-02-17 20:39:52 +01:00
|
|
|
/* unified sys/types.h:
|
|
|
|
start with sef's sysvi386 version.
|
|
|
|
merge go32 version -- a few ifdefs.
|
|
|
|
h8300hms, h8300xray, and sysvnecv70 disagree on the following types:
|
|
|
|
|
|
|
|
typedef int gid_t;
|
|
|
|
typedef int uid_t;
|
|
|
|
typedef int dev_t;
|
|
|
|
typedef int ino_t;
|
|
|
|
typedef int mode_t;
|
|
|
|
typedef int caddr_t;
|
|
|
|
|
|
|
|
however, these aren't "reasonable" values, the sysvi386 ones make far
|
|
|
|
more sense, and should work sufficiently well (in particular, h8300
|
|
|
|
doesn't have a stat, and the necv70 doesn't matter.) -- eichin
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SYS_TYPES_H
|
|
|
|
|
2002-06-28 00:48:05 +02:00
|
|
|
#include <_ansi.h>
|
2016-03-24 11:05:46 +01:00
|
|
|
#include <sys/cdefs.h>
|
2005-03-06 21:32:16 +01:00
|
|
|
#include <machine/_types.h>
|
2005-02-24 19:29:31 +01:00
|
|
|
|
2016-03-24 11:05:46 +01:00
|
|
|
/* BSD types permitted by POSIX and always exposed as in Glibc. Only provided
|
|
|
|
for backward compatibility with BSD code. The uintN_t standard types should
|
|
|
|
be preferred in new code. */
|
2005-02-24 19:29:31 +01:00
|
|
|
#if ___int8_t_defined
|
|
|
|
typedef __uint8_t u_int8_t;
|
|
|
|
#endif
|
|
|
|
#if ___int16_t_defined
|
|
|
|
typedef __uint16_t u_int16_t;
|
|
|
|
#endif
|
|
|
|
#if ___int32_t_defined
|
|
|
|
typedef __uint32_t u_int32_t;
|
|
|
|
#endif
|
|
|
|
#if ___int64_t_defined
|
|
|
|
typedef __uint64_t u_int64_t;
|
2016-03-24 11:05:46 +01:00
|
|
|
#endif
|
2019-02-18 09:39:02 +01:00
|
|
|
typedef __intptr_t register_t;
|
2016-04-21 08:21:45 +02:00
|
|
|
#define __BIT_TYPES_DEFINED__ 1
|
2016-03-24 11:05:46 +01:00
|
|
|
|
2002-08-20 03:40:39 +02:00
|
|
|
#ifndef __need_inttypes
|
|
|
|
|
|
|
|
#define _SYS_TYPES_H
|
2002-06-28 00:48:05 +02:00
|
|
|
#include <sys/_types.h>
|
2015-04-01 20:34:08 +02:00
|
|
|
#include <sys/_stdint.h>
|
2002-06-28 00:48:05 +02:00
|
|
|
|
2016-03-15 03:20:02 +01:00
|
|
|
#if __BSD_VISIBLE
|
2016-04-15 13:44:27 +02:00
|
|
|
#include <machine/endian.h>
|
2016-03-15 02:50:45 +01:00
|
|
|
#include <sys/select.h>
|
2000-02-17 20:39:52 +01:00
|
|
|
# define physadr physadr_t
|
|
|
|
# define quad quad_t
|
2016-04-18 15:29:24 +02:00
|
|
|
|
|
|
|
#ifndef _IN_ADDR_T_DECLARED
|
|
|
|
typedef __uint32_t in_addr_t; /* base type for internet address */
|
|
|
|
#define _IN_ADDR_T_DECLARED
|
2016-03-15 03:20:02 +01:00
|
|
|
#endif
|
2016-04-18 15:29:25 +02:00
|
|
|
|
|
|
|
#ifndef _IN_PORT_T_DECLARED
|
|
|
|
typedef __uint16_t in_port_t;
|
|
|
|
#define _IN_PORT_T_DECLARED
|
|
|
|
#endif
|
2019-02-18 09:41:13 +01:00
|
|
|
|
|
|
|
typedef __uintptr_t u_register_t;
|
2016-04-18 15:29:24 +02:00
|
|
|
#endif /* __BSD_VISIBLE */
|
2000-02-17 20:39:52 +01:00
|
|
|
|
2016-03-24 14:03:40 +01:00
|
|
|
#if __MISC_VISIBLE
|
2001-03-20 20:27:56 +01:00
|
|
|
#ifndef _BSDTYPES_DEFINED
|
|
|
|
/* also defined in mingw/gmon.h and in w32api/winsock[2].h */
|
2013-07-05 23:46:10 +02:00
|
|
|
#ifndef __u_char_defined
|
2000-02-17 20:39:52 +01:00
|
|
|
typedef unsigned char u_char;
|
2013-07-05 23:46:10 +02:00
|
|
|
#define __u_char_defined
|
|
|
|
#endif
|
|
|
|
#ifndef __u_short_defined
|
2000-02-17 20:39:52 +01:00
|
|
|
typedef unsigned short u_short;
|
2013-07-05 23:46:10 +02:00
|
|
|
#define __u_short_defined
|
|
|
|
#endif
|
|
|
|
#ifndef __u_int_defined
|
2000-02-17 20:39:52 +01:00
|
|
|
typedef unsigned int u_int;
|
2013-07-05 23:46:10 +02:00
|
|
|
#define __u_int_defined
|
|
|
|
#endif
|
|
|
|
#ifndef __u_long_defined
|
2000-02-17 20:39:52 +01:00
|
|
|
typedef unsigned long u_long;
|
2013-07-05 23:46:10 +02:00
|
|
|
#define __u_long_defined
|
|
|
|
#endif
|
2001-03-20 20:27:56 +01:00
|
|
|
#define _BSDTYPES_DEFINED
|
2000-02-17 20:39:52 +01:00
|
|
|
#endif
|
2019-02-18 09:38:36 +01:00
|
|
|
#endif /* __MISC_VISIBLE */
|
2000-02-17 20:39:52 +01:00
|
|
|
|
2016-03-15 03:20:02 +01:00
|
|
|
#if __MISC_VISIBLE
|
2000-02-17 20:39:52 +01:00
|
|
|
typedef unsigned short ushort; /* System V compatibility */
|
|
|
|
typedef unsigned int uint; /* System V compatibility */
|
2011-01-15 10:26:16 +01:00
|
|
|
typedef unsigned long ulong; /* System V compatibility */
|
2016-03-15 03:20:02 +01:00
|
|
|
#endif
|
2000-02-17 20:39:52 +01:00
|
|
|
|
2016-04-15 13:44:20 +02:00
|
|
|
#ifndef _BLKCNT_T_DECLARED
|
|
|
|
typedef __blkcnt_t blkcnt_t;
|
|
|
|
#define _BLKCNT_T_DECLARED
|
|
|
|
#endif
|
|
|
|
|
2016-04-15 13:44:21 +02:00
|
|
|
#ifndef _BLKSIZE_T_DECLARED
|
|
|
|
typedef __blksize_t blksize_t;
|
|
|
|
#define _BLKSIZE_T_DECLARED
|
|
|
|
#endif
|
|
|
|
|
2016-04-15 13:44:16 +02:00
|
|
|
#if !defined(__clock_t_defined) && !defined(_CLOCK_T_DECLARED)
|
|
|
|
typedef _CLOCK_T_ clock_t;
|
|
|
|
#define __clock_t_defined
|
|
|
|
#define _CLOCK_T_DECLARED
|
2000-12-11 Joel Sherrill <joel@OARcorp.com>
* Merge RTEMS specific .h files into main libc/include.
* libc/sys/rtems/include/signal.h: Removed.
* libc/sys/rtems/include/time.h: Removed.
* libc/sys/rtems/sys/features.h: Removed.
* libc/sys/rtems/sys/sched.h: Removed.
* libc/sys/rtems/sys/siginfo.h: Removed.
* libc/sys/rtems/sys/signal.h: Removed.
* libc/sys/rtems/sys/time.h: Removed.
* libc/sys/rtems/sys/times.h: Removed.
definitions for time_t and clock_t since these are
no longer in time.h.
* libc/include/pthread.h: New file.
* libc/include/sys/sched.h: New file.
* libc/include/sys/features.h: New file.
* libc/include/time.h: Removed duplicate definition of clock_t
and time_t, get them from <sys/types.h> instead. Add prototypes for POSIX clock and timer functionality.
* libc/sys/linux/sys/types.h: Changed to include
* libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
* libc/include/sys/signal.h: Add more complete set of POSIX
signal functionality including real-time and threaded signals.
* libc/include/sys/types.h: Add clock_t, time_t, struct
timespec, and struct itimerspec. Centralizing these makes
things cleaner. RTEMS uses 64-bit dev_t.
Added numerous primitive definitions
for pthreads including macros, pthread_attr_t,
pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
pthread_once_t, and pthread_t.
* libc/include/sys/unistd.h: Added getlogin_r() prototype.
If RTEMS follow POSIX on read(), write() and sbrk() prototype.
Feature flags removed and moved to new file <sys/features.h>.
Full set of POSIX sysconf() constants
2000-12-12 02:24:09 +01:00
|
|
|
#endif
|
|
|
|
|
2016-04-15 13:44:17 +02:00
|
|
|
#if !defined(__time_t_defined) && !defined(_TIME_T_DECLARED)
|
|
|
|
typedef _TIME_T_ time_t;
|
|
|
|
#define __time_t_defined
|
|
|
|
#define _TIME_T_DECLARED
|
2012-06-26 18:03:12 +02:00
|
|
|
#endif
|
2000-12-11 Joel Sherrill <joel@OARcorp.com>
* Merge RTEMS specific .h files into main libc/include.
* libc/sys/rtems/include/signal.h: Removed.
* libc/sys/rtems/include/time.h: Removed.
* libc/sys/rtems/sys/features.h: Removed.
* libc/sys/rtems/sys/sched.h: Removed.
* libc/sys/rtems/sys/siginfo.h: Removed.
* libc/sys/rtems/sys/signal.h: Removed.
* libc/sys/rtems/sys/time.h: Removed.
* libc/sys/rtems/sys/times.h: Removed.
definitions for time_t and clock_t since these are
no longer in time.h.
* libc/include/pthread.h: New file.
* libc/include/sys/sched.h: New file.
* libc/include/sys/features.h: New file.
* libc/include/time.h: Removed duplicate definition of clock_t
and time_t, get them from <sys/types.h> instead. Add prototypes for POSIX clock and timer functionality.
* libc/sys/linux/sys/types.h: Changed to include
* libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
* libc/include/sys/signal.h: Add more complete set of POSIX
signal functionality including real-time and threaded signals.
* libc/include/sys/types.h: Add clock_t, time_t, struct
timespec, and struct itimerspec. Centralizing these makes
things cleaner. RTEMS uses 64-bit dev_t.
Added numerous primitive definitions
for pthreads including macros, pthread_attr_t,
pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
pthread_once_t, and pthread_t.
* libc/include/sys/unistd.h: Added getlogin_r() prototype.
If RTEMS follow POSIX on read(), write() and sbrk() prototype.
Feature flags removed and moved to new file <sys/features.h>.
Full set of POSIX sysconf() constants
2000-12-12 02:24:09 +01:00
|
|
|
|
2013-07-05 23:46:10 +02:00
|
|
|
#ifndef __daddr_t_defined
|
2000-02-17 20:39:52 +01:00
|
|
|
typedef long daddr_t;
|
2013-07-05 23:46:10 +02:00
|
|
|
#define __daddr_t_defined
|
|
|
|
#endif
|
|
|
|
#ifndef __caddr_t_defined
|
2000-02-17 20:39:52 +01:00
|
|
|
typedef char * caddr_t;
|
2013-07-05 23:46:10 +02:00
|
|
|
#define __caddr_t_defined
|
|
|
|
#endif
|
2000-02-17 20:39:52 +01:00
|
|
|
|
2016-04-15 13:44:22 +02:00
|
|
|
#ifndef _FSBLKCNT_T_DECLARED /* for statvfs() */
|
|
|
|
typedef __fsblkcnt_t fsblkcnt_t;
|
|
|
|
typedef __fsfilcnt_t fsfilcnt_t;
|
|
|
|
#define _FSBLKCNT_T_DECLARED
|
|
|
|
#endif
|
|
|
|
|
2016-04-15 13:44:13 +02:00
|
|
|
#ifndef _ID_T_DECLARED
|
|
|
|
typedef __id_t id_t; /* can hold a uid_t or pid_t */
|
|
|
|
#define _ID_T_DECLARED
|
|
|
|
#endif
|
|
|
|
|
2016-04-15 13:44:14 +02:00
|
|
|
#ifndef _INO_T_DECLARED
|
|
|
|
typedef __ino_t ino_t; /* inode number */
|
|
|
|
#define _INO_T_DECLARED
|
2000-02-17 20:39:52 +01:00
|
|
|
#endif
|
2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
* libc/include/machine/types.h: Skip __off_t, __pid_t, and
__loff_t definitions if special _HAVE_SYSTYPES macro defined.
* libc/include/sys/config.h: Removed _uint*, _int* definitions.
* libc/include/sys/param.h: Remove i386 case which is handled
by default case.
(BIG_ENDIAN, LITTLE_ENDIAN): Protect
definitions in case they are already defined.
(BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
_IEEE_LITTLE_ENDIAN flags.
* libc/include/sys/reent.h: Change __uint32_t references to
use _ULong instead.
(_REENT_GETDATE_REENT_P): New macro.
* libc/include/sys/types.h (__int16_t, __uint16_t): Added.
(__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
* libc/search/hash.h: Add default setting of BYTE_ORDER,
LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
* libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
pid_t, off_t, loff_t, caddr_t, and daddr_t type
definitions which are done by subsequent glibc headers.
Add macro definitions to prevent subsequent header files from
defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
intptr_t to after glibc definitions of types they are based on.
2002-06-21 20:15:56 +02:00
|
|
|
|
2016-04-15 13:44:15 +02:00
|
|
|
#if defined(__i386__) && (defined(GO32) || defined(__MSDOS__))
|
|
|
|
typedef char * addr_t;
|
2000-02-17 20:39:52 +01:00
|
|
|
typedef unsigned long vm_offset_t;
|
|
|
|
typedef unsigned long vm_size_t;
|
2016-04-15 13:44:15 +02:00
|
|
|
#endif /* __i386__ && (GO32 || __MSDOS__) */
|
2000-02-17 20:39:52 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* All these should be machine specific - right now they are all broken.
|
|
|
|
* However, for all of Cygnus' embedded targets, we want them to all be
|
|
|
|
* the same. Otherwise things like sizeof (struct stat) might depend on
|
|
|
|
* how the file was compiled (e.g. -mint16 vs -mint32, etc.).
|
|
|
|
*/
|
|
|
|
|
2016-04-13 13:10:16 +02:00
|
|
|
#ifndef _OFF_T_DECLARED
|
|
|
|
typedef __off_t off_t; /* file offset */
|
|
|
|
#define _OFF_T_DECLARED
|
2002-02-09 21:40:37 +01:00
|
|
|
#endif
|
2016-04-13 13:10:16 +02:00
|
|
|
#ifndef _DEV_T_DECLARED
|
|
|
|
typedef __dev_t dev_t; /* device number or struct cdev */
|
|
|
|
#define _DEV_T_DECLARED
|
|
|
|
#endif
|
|
|
|
#ifndef _UID_T_DECLARED
|
|
|
|
typedef __uid_t uid_t; /* user id */
|
|
|
|
#define _UID_T_DECLARED
|
|
|
|
#endif
|
|
|
|
#ifndef _GID_T_DECLARED
|
|
|
|
typedef __gid_t gid_t; /* group id */
|
|
|
|
#define _GID_T_DECLARED
|
|
|
|
#endif
|
2002-02-09 21:40:37 +01:00
|
|
|
|
2016-04-13 13:10:15 +02:00
|
|
|
#ifndef _PID_T_DECLARED
|
|
|
|
typedef __pid_t pid_t; /* process id */
|
|
|
|
#define _PID_T_DECLARED
|
2009-06-17 18:47:02 +02:00
|
|
|
#endif
|
|
|
|
|
2016-04-13 21:00:17 +02:00
|
|
|
#ifndef _KEY_T_DECLARED
|
|
|
|
typedef __key_t key_t; /* IPC key */
|
|
|
|
#define _KEY_T_DECLARED
|
2003-05-11 14:51:52 +02:00
|
|
|
#endif
|
2016-03-18 11:49:24 +01:00
|
|
|
|
|
|
|
#ifndef _SSIZE_T_DECLARED
|
2002-06-28 00:48:05 +02:00
|
|
|
typedef _ssize_t ssize_t;
|
2016-03-18 11:49:24 +01:00
|
|
|
#define _SSIZE_T_DECLARED
|
|
|
|
#endif
|
2000-02-17 20:39:52 +01:00
|
|
|
|
2016-04-15 13:44:15 +02:00
|
|
|
#ifndef _MODE_T_DECLARED
|
|
|
|
typedef __mode_t mode_t; /* permissions */
|
|
|
|
#define _MODE_T_DECLARED
|
2000-02-17 20:39:52 +01:00
|
|
|
#endif
|
|
|
|
|
2016-04-15 13:44:23 +02:00
|
|
|
#ifndef _NLINK_T_DECLARED
|
|
|
|
typedef __nlink_t nlink_t; /* link count */
|
|
|
|
#define _NLINK_T_DECLARED
|
|
|
|
#endif
|
2000-02-17 20:39:52 +01:00
|
|
|
|
2016-04-15 13:44:18 +02:00
|
|
|
#if !defined(__clockid_t_defined) && !defined(_CLOCKID_T_DECLARED)
|
|
|
|
typedef __clockid_t clockid_t;
|
|
|
|
#define __clockid_t_defined
|
|
|
|
#define _CLOCKID_T_DECLARED
|
2000-12-11 Joel Sherrill <joel@OARcorp.com>
* Merge RTEMS specific .h files into main libc/include.
* libc/sys/rtems/include/signal.h: Removed.
* libc/sys/rtems/include/time.h: Removed.
* libc/sys/rtems/sys/features.h: Removed.
* libc/sys/rtems/sys/sched.h: Removed.
* libc/sys/rtems/sys/siginfo.h: Removed.
* libc/sys/rtems/sys/signal.h: Removed.
* libc/sys/rtems/sys/time.h: Removed.
* libc/sys/rtems/sys/times.h: Removed.
definitions for time_t and clock_t since these are
no longer in time.h.
* libc/include/pthread.h: New file.
* libc/include/sys/sched.h: New file.
* libc/include/sys/features.h: New file.
* libc/include/time.h: Removed duplicate definition of clock_t
and time_t, get them from <sys/types.h> instead. Add prototypes for POSIX clock and timer functionality.
* libc/sys/linux/sys/types.h: Changed to include
* libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
* libc/include/sys/signal.h: Add more complete set of POSIX
signal functionality including real-time and threaded signals.
* libc/include/sys/types.h: Add clock_t, time_t, struct
timespec, and struct itimerspec. Centralizing these makes
things cleaner. RTEMS uses 64-bit dev_t.
Added numerous primitive definitions
for pthreads including macros, pthread_attr_t,
pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
pthread_once_t, and pthread_t.
* libc/include/sys/unistd.h: Added getlogin_r() prototype.
If RTEMS follow POSIX on read(), write() and sbrk() prototype.
Feature flags removed and moved to new file <sys/features.h>.
Full set of POSIX sysconf() constants
2000-12-12 02:24:09 +01:00
|
|
|
#endif
|
|
|
|
|
2016-04-15 13:44:19 +02:00
|
|
|
#if !defined(__timer_t_defined) && !defined(_TIMER_T_DECLARED)
|
|
|
|
typedef __timer_t timer_t;
|
|
|
|
#define __timer_t_defined
|
|
|
|
#define _TIMER_T_DECLARED
|
2000-12-11 Joel Sherrill <joel@OARcorp.com>
* Merge RTEMS specific .h files into main libc/include.
* libc/sys/rtems/include/signal.h: Removed.
* libc/sys/rtems/include/time.h: Removed.
* libc/sys/rtems/sys/features.h: Removed.
* libc/sys/rtems/sys/sched.h: Removed.
* libc/sys/rtems/sys/siginfo.h: Removed.
* libc/sys/rtems/sys/signal.h: Removed.
* libc/sys/rtems/sys/time.h: Removed.
* libc/sys/rtems/sys/times.h: Removed.
definitions for time_t and clock_t since these are
no longer in time.h.
* libc/include/pthread.h: New file.
* libc/include/sys/sched.h: New file.
* libc/include/sys/features.h: New file.
* libc/include/time.h: Removed duplicate definition of clock_t
and time_t, get them from <sys/types.h> instead. Add prototypes for POSIX clock and timer functionality.
* libc/sys/linux/sys/types.h: Changed to include
* libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
* libc/include/sys/signal.h: Add more complete set of POSIX
signal functionality including real-time and threaded signals.
* libc/include/sys/types.h: Add clock_t, time_t, struct
timespec, and struct itimerspec. Centralizing these makes
things cleaner. RTEMS uses 64-bit dev_t.
Added numerous primitive definitions
for pthreads including macros, pthread_attr_t,
pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
pthread_once_t, and pthread_t.
* libc/include/sys/unistd.h: Added getlogin_r() prototype.
If RTEMS follow POSIX on read(), write() and sbrk() prototype.
Feature flags removed and moved to new file <sys/features.h>.
Full set of POSIX sysconf() constants
2000-12-12 02:24:09 +01:00
|
|
|
#endif
|
|
|
|
|
2016-04-15 13:44:24 +02:00
|
|
|
#ifndef _USECONDS_T_DECLARED
|
|
|
|
typedef __useconds_t useconds_t; /* microseconds (unsigned) */
|
|
|
|
#define _USECONDS_T_DECLARED
|
|
|
|
#endif
|
2015-03-13 13:17:34 +01:00
|
|
|
|
|
|
|
#ifndef _SUSECONDS_T_DECLARED
|
|
|
|
typedef __suseconds_t suseconds_t;
|
|
|
|
#define _SUSECONDS_T_DECLARED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef __int64_t sbintime_t;
|
2001-11-28 01:16:58 +01:00
|
|
|
|
2000-12-11 Joel Sherrill <joel@OARcorp.com>
* Merge RTEMS specific .h files into main libc/include.
* libc/sys/rtems/include/signal.h: Removed.
* libc/sys/rtems/include/time.h: Removed.
* libc/sys/rtems/sys/features.h: Removed.
* libc/sys/rtems/sys/sched.h: Removed.
* libc/sys/rtems/sys/siginfo.h: Removed.
* libc/sys/rtems/sys/signal.h: Removed.
* libc/sys/rtems/sys/time.h: Removed.
* libc/sys/rtems/sys/times.h: Removed.
definitions for time_t and clock_t since these are
no longer in time.h.
* libc/include/pthread.h: New file.
* libc/include/sys/sched.h: New file.
* libc/include/sys/features.h: New file.
* libc/include/time.h: Removed duplicate definition of clock_t
and time_t, get them from <sys/types.h> instead. Add prototypes for POSIX clock and timer functionality.
* libc/sys/linux/sys/types.h: Changed to include
* libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
* libc/include/sys/signal.h: Add more complete set of POSIX
signal functionality including real-time and threaded signals.
* libc/include/sys/types.h: Add clock_t, time_t, struct
timespec, and struct itimerspec. Centralizing these makes
things cleaner. RTEMS uses 64-bit dev_t.
Added numerous primitive definitions
for pthreads including macros, pthread_attr_t,
pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
pthread_once_t, and pthread_t.
* libc/include/sys/unistd.h: Added getlogin_r() prototype.
If RTEMS follow POSIX on read(), write() and sbrk() prototype.
Feature flags removed and moved to new file <sys/features.h>.
Full set of POSIX sysconf() constants
2000-12-12 02:24:09 +01:00
|
|
|
#include <sys/features.h>
|
2016-11-16 14:51:31 +01:00
|
|
|
#include <sys/_pthreadtypes.h>
|
2016-04-21 08:21:44 +02:00
|
|
|
#include <machine/types.h>
|
|
|
|
|
2002-08-20 03:40:39 +02:00
|
|
|
#endif /* !__need_inttypes */
|
|
|
|
|
|
|
|
#undef __need_inttypes
|
|
|
|
|
2000-02-17 20:39:52 +01:00
|
|
|
#endif /* _SYS_TYPES_H */
|