posix_types.h revision 655a7c081f83b8351ed5f11a6c6accd9458293a8
1/**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19#ifndef __ASM_GENERIC_POSIX_TYPES_H 20#define __ASM_GENERIC_POSIX_TYPES_H 21#include <asm/bitsperlong.h> 22#ifndef __kernel_long_t 23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24typedef long __kernel_long_t; 25typedef unsigned long __kernel_ulong_t; 26#endif 27#ifndef __kernel_ino_t 28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29typedef __kernel_ulong_t __kernel_ino_t; 30#endif 31#ifndef __kernel_mode_t 32typedef unsigned int __kernel_mode_t; 33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34#endif 35#ifndef __kernel_pid_t 36typedef int __kernel_pid_t; 37#endif 38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39#ifndef __kernel_ipc_pid_t 40typedef int __kernel_ipc_pid_t; 41#endif 42#ifndef __kernel_uid_t 43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44typedef unsigned int __kernel_uid_t; 45typedef unsigned int __kernel_gid_t; 46#endif 47#ifndef __kernel_suseconds_t 48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49typedef __kernel_long_t __kernel_suseconds_t; 50#endif 51#ifndef __kernel_daddr_t 52typedef int __kernel_daddr_t; 53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54#endif 55#ifndef __kernel_uid32_t 56typedef unsigned int __kernel_uid32_t; 57typedef unsigned int __kernel_gid32_t; 58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59#endif 60#ifndef __kernel_old_uid_t 61typedef __kernel_uid_t __kernel_old_uid_t; 62typedef __kernel_gid_t __kernel_old_gid_t; 63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64#endif 65#ifndef __kernel_old_dev_t 66typedef unsigned int __kernel_old_dev_t; 67#endif 68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69#ifndef __kernel_size_t 70#if __BITS_PER_LONG != 64 71typedef unsigned int __kernel_size_t; 72typedef int __kernel_ssize_t; 73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74typedef int __kernel_ptrdiff_t; 75#else 76typedef __kernel_ulong_t __kernel_size_t; 77typedef __kernel_long_t __kernel_ssize_t; 78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79typedef __kernel_long_t __kernel_ptrdiff_t; 80#endif 81#endif 82#ifndef __kernel_fsid_t 83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84typedef struct { 85 int val[2]; 86} __kernel_fsid_t; 87#endif 88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89typedef __kernel_long_t __kernel_off_t; 90typedef long long __kernel_loff_t; 91typedef __kernel_long_t __kernel_time_t; 92typedef __kernel_long_t __kernel_clock_t; 93/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94typedef int __kernel_timer_t; 95typedef int __kernel_clockid_t; 96typedef char * __kernel_caddr_t; 97typedef unsigned short __kernel_uid16_t; 98/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99typedef unsigned short __kernel_gid16_t; 100#endif 101