diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-02-15 20:10:22 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-02-15 20:11:20 +0000 |
commit | 8e475601f62c115115df1639599f573d2e78d7b7 (patch) | |
tree | cbcb9014ce58138594e22c9afa6a77341ed950c8 /sysdeps/unix/sysv/linux/sys/signalfd.h | |
parent | d463ab10dd4a3eab1a569e35428ad671f9fd500f (diff) | |
download | glibc-8e475601f62c115115df1639599f573d2e78d7b7.tar.gz glibc-8e475601f62c115115df1639599f573d2e78d7b7.tar.xz glibc-8e475601f62c115115df1639599f573d2e78d7b7.zip |
Split architecture-specific parts of sys/signalfd.h into bits/signalfd.h.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sys/signalfd.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/sys/signalfd.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/signalfd.h b/sysdeps/unix/sysv/linux/sys/signalfd.h index d8a9a48ac5..46a8d479f1 100644 --- a/sysdeps/unix/sysv/linux/sys/signalfd.h +++ b/sysdeps/unix/sysv/linux/sys/signalfd.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2007, 2008 Free Software Foundation, Inc. +/* Copyright (C) 2007-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -22,6 +22,8 @@ #include <signal.h> #include <stdint.h> +/* Get the platform-dependent flags. */ +#include <bits/signalfd.h> struct signalfd_siginfo { @@ -44,15 +46,6 @@ struct signalfd_siginfo uint8_t __pad[48]; }; -/* Flags for signalfd. */ -enum - { - SFD_CLOEXEC = 02000000, -#define SFD_CLOEXEC SFD_CLOEXEC - SFD_NONBLOCK = 04000 -#define SFD_NONBLOCK SFD_NONBLOCK - }; - __BEGIN_DECLS /* Request notification for delivery of signals in MASK to be |