1 /****************************************************************************
2 ****************************************************************************
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.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_POSIX_TYPES_H
13 #define _LINUX_POSIX_TYPES_H
15 #include <linux/stddef.h>
18 #define __NFDBITS (8 * sizeof(unsigned long))
21 #define __FD_SETSIZE 1024
24 #define __FDSET_LONGS (__FD_SETSIZE/__NFDBITS)
27 #define __FDELT(d) ((d) / __NFDBITS)
30 #define __FDMASK(d) (1UL << ((d) % __NFDBITS))
33 unsigned long fds_bits [__FDSET_LONGS];
36 typedef void (*__kernel_sighandler_t)(int);
38 typedef int __kernel_key_t;
39 typedef int __kernel_mqd_t;
41 #include <asm/posix_types.h>