⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _types.h

📁 Newlib 嵌入式 C库 标准实现代码
💻 H
字号:
/* ANSI C namespace clean utility typedefs *//* This file defines various typedefs needed by the system calls that support   the C library.  Basically, they're just the POSIX versions with an '_'   prepended.  This file lives in the `sys' directory so targets can provide   their own if desired (or they can put target dependant conditionals here).*/#ifndef	_SYS__TYPES_H#define _SYS__TYPES_H#include <machine/_types.h>#include <sys/lock.h>#ifndef __off_t_definedtypedef long _off_t;#endif#if defined(__rtems__)/* device numbers are 32-bit major and and 32-bit minor */typedef unsigned long long __dev_t;#else#ifndef __dev_t_definedtypedef short __dev_t;#endif#endif#ifndef __uid_t_definedtypedef unsigned short __uid_t;#endif#ifndef __gid_t_definedtypedef unsigned short __gid_t;#endif#ifndef __off64_t_defined__extension__ typedef long long _off64_t;#endif/* * We need fpos_t for the following, but it doesn't have a leading "_", * so we use _fpos_t instead. */#ifndef __fpos_t_definedtypedef long _fpos_t;		/* XXX must match off_t in <sys/types.h> */				/* (and must be `long' for now) */#endif#ifdef __LARGE64_FILES#ifndef __fpos64_t_definedtypedef _off64_t _fpos64_t;#endif#endif#ifndef __ssize_t_defined#if defined(__INT_MAX__) && __INT_MAX__ == 2147483647typedef int _ssize_t;#elsetypedef long _ssize_t;#endif#endif#define __need_wint_t#include <stddef.h>#ifndef __mbstate_t_defined/* Conversion state information.  */typedef struct{  int __count;  union  {    wint_t __wch;    unsigned char __wchb[4];  } __value;		/* Value so far.  */} _mbstate_t;#endif#ifndef __flock_t_definedtypedef _LOCK_RECURSIVE_T _flock_t;#endif#ifndef __iconv_t_defined/* Iconv descriptor type */typedef void *_iconv_t;#endif#endif	/* _SYS__TYPES_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -