diff options
author | Roland McGrath <roland@gnu.org> | 2001-08-23 04:34:57 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-08-23 04:34:57 +0000 |
commit | 8179dcc10808cf2a515cf19d445789193a763ec4 (patch) | |
tree | 1443e552a488918bf4a2edc0321a5df9d474b0ee /bits | |
parent | d9022567542acf6734184696596aef0851e7f8f0 (diff) | |
download | glibc-8179dcc10808cf2a515cf19d445789193a763ec4.tar.gz glibc-8179dcc10808cf2a515cf19d445789193a763ec4.tar.xz glibc-8179dcc10808cf2a515cf19d445789193a763ec4.zip |
* conform/conformtest.pl (checknamespace): Sort the output list.
* sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT. (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these definitions conditional on [__USE_XOPEN]. * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define these unconditionally, not only use [__USE_BSD], so as to match the sysdeps/unix/sysv/linux files.
Diffstat (limited to 'bits')
-rw-r--r-- | bits/poll.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bits/poll.h b/bits/poll.h index a3da4306ad..022a06cc1b 100644 --- a/bits/poll.h +++ b/bits/poll.h @@ -27,10 +27,13 @@ #define POLLPRI 02 /* There is urgent data to read. */ #define POLLOUT 04 /* Writing now will not block. */ -/* Some aliases. */ -#define POLLWRNORM POLLOUT -#define POLLRDNORM POLLIN -#define POLLRDBAND POLLPRI +#ifdef __USE_XOPEN +/* These values are defined in XPG4.2. */ +# define POLLRDNORM POLLIN /* Normal data may be read. */ +# define POLLRDBAND POLLPRI /* Priority data may be read. */ +# define POLLWRNORM POLLOUT /* Writing now will not block. */ +# define POLLWRBAND POLLOUT /* Priority data may be written. */ +#endif /* Event types always implicitly polled for. These bits need not be set in `events', but they will appear in `revents' to indicate the status of |