Docs: Clarify that libusb_handle_events_timeout() tv param can't be NULL
authorHans de Goede <hdegoede@redhat.com>
Wed, 14 Sep 2011 08:53:48 +0000 (10:53 +0200)
committerPeter Stuge <peter@stuge.se>
Mon, 17 Oct 2011 14:25:50 +0000 (16:25 +0200)
commit9ad3643391a7fc6ce97aa77ffaf97d244fd9e613
treedc065338576b530709f03d54805c265b2ef3a523
parente1c06fb070c1328a3b78c7da8b9e779d466edd97
Docs: Clarify that libusb_handle_events_timeout() tv param can't be NULL

The example code and API doc for libusb_handle_events_timeout() could be
interpreted as it being OK to pass a NULL pointer for the tv argument (I
interpreted it like that when I first started coding for libusb).

This patch changes the docs to make it clear that one must always supply
a tv struct to libusb_handle_events_timeout.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
libusb/io.c