Re: usb_init_task(9): correct type

2021-01-16 Thread Emil Engler
On 1/16/21 8:00 AM, Anton Lindqvist wrote: Hi, The usb_init_task(9) macro accepts a `struct usb_task'. If it's macro, is it even correct to show the types it accepts in it's "prototype"? Other parts of the documentation (kqueue(2) EV_SET for example) leave all types out.

Re: usb_init_task(9): correct type

2021-01-16 Thread Klemens Nanni
On Sat, Jan 16, 2021 at 08:00:25AM +0100, Anton Lindqvist wrote: > The usb_init_task(9) macro accepts a `struct usb_task'. This matches the manuals wording The usb_init_task() macro prepares the task structure task [...] where "task" is marked up but fails to show up in the synopsis; surely

usb_init_task(9): correct type

2021-01-15 Thread Anton Lindqvist
Hi, The usb_init_task(9) macro accepts a `struct usb_task'. Comments? OK? Index: share/man/man9/usb_add_task.9 === RCS file: /cvs/src/share/man/man9/usb_add_task.9,v retrieving revision 1.2 diff -u -p -r1.2 usb_add_task.9 ---