Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
signalfd.h
Go to the documentation of this file.
1 /*
2  * include/linux/signalfd.h
3  *
4  * Copyright (C) 2007 Davide Libenzi <[email protected]>
5  *
6  */
7 
8 #ifndef _UAPI_LINUX_SIGNALFD_H
9 #define _UAPI_LINUX_SIGNALFD_H
10 
11 #include <linux/types.h>
12 /* For O_CLOEXEC and O_NONBLOCK */
13 #include <linux/fcntl.h>
14 
15 /* Flags for signalfd4. */
16 #define SFD_CLOEXEC O_CLOEXEC
17 #define SFD_NONBLOCK O_NONBLOCK
18 
37 
38  /*
39  * Pad strcture to 128 bytes. Remember to update the
40  * pad size when you add new members. We use a fixed
41  * size structure to avoid compatibility problems with
42  * future versions, and we leave extra space for additional
43  * members. We use fixed size members because this strcture
44  * comes out of a read(2) and we really don't want to have
45  * a compat on read(2).
46  */
47  __u8 __pad[46];
48 };
49 
50 
51 
52 #endif /* _UAPI_LINUX_SIGNALFD_H */