From c7e571eca0c925008be99efb4e7ba3bc876a7309 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka <gniibe@fsij.org> Date: Thu, 30 Jun 2016 16:41:32 +0900 Subject: update doc --- doc/chopstx-api.texi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/chopstx-api.texi b/doc/chopstx-api.texi index 1bfeaf3..486907d 100644 --- a/doc/chopstx-api.texi +++ b/doc/chopstx-api.texi @@ -176,11 +176,15 @@ Returns old state which is 0 when it was enabled. @subheading chopstx_poll @anchor{chopstx_poll} -@deftypefun {int} {chopstx_poll} (uint32_t * @var{usec_p}, int @var{n}, @var{...}) +@deftypefun {int} {chopstx_poll} (uint32_t * @var{usec_p}, int @var{n}, struct chx_poll_head * [] @var{pd_array}) @var{usec_p}: Pointer to usec for timeout. Forever if NULL. @var{n}: Number of poll descriptors +@var{pd_array}: Pointer to an array of poll descriptor pointer which +should be one of: +chopstx_poll_cond_t, chopstx_poll_join_t, or chopstx_intr_t. + Returns number of active descriptors. @end deftypefun -- cgit v1.2.3