Skip to content

Commit

Permalink
Fix up sys/select.h test for XPG7.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Jan 12, 2010
1 parent 8500fa8 commit 4bfc6ab
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2010-01-12 Ulrich Drepper <drepper@redhat.com>

* conform/data/sys/select.h-data: Fix up for XPG7.

2010-01-12 Jakub Jelinek <jakub@redhat.com>

* posix/sys/wait.h: Don't define W* macros etc. if
12 changes: 7 additions & 5 deletions conform/data/sys/select.h-data
Original file line number Diff line number Diff line change
@@ -13,16 +13,18 @@ element {struct timespec} time_t tv_sec
element {struct timespec} long tv_nsec

type fd_set
#if defined XPG3 || defined XPG4 || defined UNIX98
element fd_set long fds_bits []
#endif

function-macro void FD_CLR (int, fd_set*)
function-macro int FD_ISSET (int, fd_set*)
function-macro void FD_SET (int, fd_set*)
function-macro void FD_ZERO (fd_set*)
macro FD_CLR
macro FD_ISSET
macro FD_SET
macro FD_ZERO

macro FD_SETSIZE

#ifdef XOPEN2K
#if defined XOPEN2K || defined POSIX2008
function int pselect (int, fd_set*, fd_set*, fd_set*, const struct timespec*, const sigset_t*)
#endif
function int select (int, fd_set*, fd_set*, fd_set*, struct timeval*)

0 comments on commit 4bfc6ab

Please sign in to comment.