another nit in queue(3) man page

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

another nit in queue(3) man page

Girish Venkatachalam-2
Please fix it.

cvs diff: Diffing share/man/man3
Index: share/man/man3/queue.3
===================================================================
RCS file: /store/openbsd/cvsync/src/share/man/man3/queue.3,v
retrieving revision 1.44
diff -u -r1.44 queue.3
--- share/man/man3/queue.3      16 Dec 2007 13:23:57 -0000      1.44
+++ share/man/man3/queue.3      20 Dec 2007 21:48:57 -0000
@@ -174,6 +174,8 @@
 .Fn SIMPLEQ_NEXT "struct TYPE *listelm" "SIMPLEQ_ENTRY NAME"
 .Ft "struct TYPE *"
 .Fn SIMPLEQ_END "SIMPLEQ_HEAD *head"
+.Ft "bool"
+.Fn SIMPLEQ_EMPTY "SIMPLEQ_HEAD *head"
 .Ft void
 .Fn SIMPLEQ_INIT "SIMPLEQ_HEAD *head"
 .Ft void

Thanks.

-Girish

Reply | Threaded
Open this post in threaded view
|

Re: another nit in queue(3) man page

Otto Moerbeek
On Fri, Dec 21, 2007 at 03:33:43AM +0530, Girish Venkatachalam wrote:

> Please fix it.

Make than an int and I'm fine with it.

        -Otto
       

>
> cvs diff: Diffing share/man/man3
> Index: share/man/man3/queue.3
> ===================================================================
> RCS file: /store/openbsd/cvsync/src/share/man/man3/queue.3,v
> retrieving revision 1.44
> diff -u -r1.44 queue.3
> --- share/man/man3/queue.3      16 Dec 2007 13:23:57 -0000      1.44
> +++ share/man/man3/queue.3      20 Dec 2007 21:48:57 -0000
> @@ -174,6 +174,8 @@
>  .Fn SIMPLEQ_NEXT "struct TYPE *listelm" "SIMPLEQ_ENTRY NAME"
>  .Ft "struct TYPE *"
>  .Fn SIMPLEQ_END "SIMPLEQ_HEAD *head"
> +.Ft "bool"
> +.Fn SIMPLEQ_EMPTY "SIMPLEQ_HEAD *head"
>  .Ft void
>  .Fn SIMPLEQ_INIT "SIMPLEQ_HEAD *head"
>  .Ft void
>
> Thanks.
>
> -Girish

Reply | Threaded
Open this post in threaded view
|

Re: another nit in queue(3) man page

Girish Venkatachalam-2
On 06:38:02 Dec 21, Otto Moerbeek wrote:
> Make than an int and I'm fine with it.
>

You are right.

-Girish
Index: share/man/man3/queue.3
===================================================================
RCS file: /store/openbsd/cvsync/src/share/man/man3/queue.3,v
retrieving revision 1.44
diff -u -r1.44 queue.3
--- share/man/man3/queue.3 16 Dec 2007 13:23:57 -0000 1.44
+++ share/man/man3/queue.3 21 Dec 2007 05:49:33 -0000
@@ -123,7 +123,7 @@
 .Fn SLIST_NEXT "struct TYPE *listelm" "SLIST_ENTRY NAME"
 .Ft "struct TYPE *"
 .Fn SLIST_END "SLIST_HEAD *head"
-.Ft "bool"
+.Ft "int"
 .Fn SLIST_EMPTY "SLIST_HEAD *head"
 .Fn SLIST_FOREACH "VARNAME" "SLIST_HEAD *head" "SLIST_ENTRY NAME"
 .Fn SLIST_FOREACH_PREVPTR "VARNAME" "VARNAMEP" "SLIST_HEAD *head" "SLIST_ENTRY NAME"
@@ -149,7 +149,7 @@
 .Fn LIST_NEXT "struct TYPE *listelm" "LIST_ENTRY NAME"
 .Ft "struct TYPE *"
 .Fn LIST_END "LIST_HEAD *head"
-.Ft "bool"
+.Ft "int"
 .Fn LIST_EMPTY "LIST_HEAD *head"
 .Fn LIST_FOREACH "VARNAME" "LIST_HEAD *head" "LIST_ENTRY NAME"
 .Ft void
@@ -174,6 +174,8 @@
 .Fn SIMPLEQ_NEXT "struct TYPE *listelm" "SIMPLEQ_ENTRY NAME"
 .Ft "struct TYPE *"
 .Fn SIMPLEQ_END "SIMPLEQ_HEAD *head"
+.Ft "int"
+.Fn SIMPLEQ_EMPTY "SIMPLEQ_HEAD *head"
 .Ft void
 .Fn SIMPLEQ_INIT "SIMPLEQ_HEAD *head"
 .Ft void
@@ -198,7 +200,7 @@
 .Fn TAILQ_LAST "TAILQ_HEAD *head" "HEADNAME NAME"
 .Ft "struct TYPE *"
 .Fn TAILQ_PREV "struct TYPE *listelm" "HEADNAME NAME" "TAILQ_ENTRY NAME"
-.Ft "bool"
+.Ft "int"
 .Fn TAILQ_EMPTY "TAILQ_HEAD *head"
 .Fn TAILQ_FOREACH "VARNAME" "TAILQ_HEAD *head" "TAILQ_ENTRY NAME"
 .Fn TAILQ_FOREACH_REVERSE "VARNAME" "TAILQ_HEAD *head" "HEADNAME" "TAILQ_ENTRY NAME"
@@ -228,7 +230,7 @@
 .Fn CIRCLEQ_NEXT "struct TYPE *listelm" "CIRCLEQ_ENTRY NAME"
 .Ft "struct TYPE *"
 .Fn CIRCLEQ_PREV "struct TYPE *listelm" "CIRCLEQ_ENTRY NAME"
-.Ft "bool"
+.Ft "int"
 .Fn CIRCLEQ_EMPTY "CIRCLEQ_HEAD *head"
 .Fn CIRCLEQ_FOREACH "VARNAME" "CIRCLEQ_HEAD *head" "CIRCLEQ_ENTRY NAME"
 .Fn CIRCLEQ_FOREACH_REVERSE "VARNAME" "CIRCLEQ_HEAD *head" "CIRCLEQ_ENTRY NAME"