1 /* asyn_pending() - any results pending? Author: Kees J. Bot
6 int asyn_pending(asynchio_t
*asyn
, int fd
, int op
)
7 /* Check if a result of an operation is pending. (This is easy with
8 * select(2), because no operation is actually happening.)
11 if ((unsigned) fd
>= FD_SETSIZE
) { errno
= EBADF
; return -1; }