So... let's say I'm writing code that uses poll.

What would I need to read to discover whether POLLRDBAND is relevant
or not, to my coding effort?

Thanks,

-- 
Raul

On Tue, Feb 17, 2015 at 5:47 PM, Todd C. Miller
<[email protected]> wrote:
> I think this is more accurate.
>
>  - todd
>
> Index: lib/libc/sys/poll.2
> ===================================================================
> RCS file: /cvs/src/lib/libc/sys/poll.2,v
> retrieving revision 1.29
> diff -u -r1.29 poll.2
> --- lib/libc/sys/poll.2 5 Feb 2015 02:33:09 -0000       1.29
> +++ lib/libc/sys/poll.2 17 Feb 2015 22:46:18 -0000
> @@ -174,6 +174,13 @@
>  .Pp
>  The significance and semantics of normal, priority, and high-priority
>  data are device-specific.
> +For example, on
> +.Ox ,
> +the
> +.Dv POLLPRI
> +and
> +.Dv POLLRDBAND
> +flags may be used to detect when out-of-band socket data is available.
>  .Pp
>  In addition to I/O multiplexing,
>  .Fn poll
> @@ -354,6 +361,11 @@
>  and
>  .Dv POLLRDNORM
>  flags are equivalent.
> +Similarly, the
> +.Dv POLLPRI
> +and
> +.Dv POLLRDBAND
> +flags are also equivalent.
>  .Pp
>  Internally to the kernel,
>  .Fn poll
>

Reply via email to