summaryrefslogtreecommitdiff
path: root/examples/listdevs.c
Commit message (Collapse)AuthorAgeFilesLines
* Add missing libusb_exit on an error conditiongudenau2018-12-051-1/+3
| | | | | | Closes #448 Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
* Misc: Revert all references to libusb/libusb.infohjelmn@cs.unm.edu2014-01-081-1/+1
|
* Examples: Fix use of deprecated libusb_get_port_pathHans de Goede2013-05-171-9/+5
| | | | | | While at it also simplify the path printing in listdevs Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* listdevs: Also print portpath for non root hubsHans de Goede2013-05-161-2/+15
| | | | Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Misc: Simplify includes and misc. cleanupPete Batard2013-02-271-3/+0
| | | | | | | | | | | * fxload sample provenance * No need for <sys/types.h> in samples as already in libusb.h * Don't bother about sscanf_s in xusb * Use HAVE_### and rely on config.h where possible * Formal inclusion of <winsock.h> in libusb.h for WinCE and WDK * Cleanup of Windows' config.h * Avoid ENAMETOOLONG and ENOTEMPTY conflict between errno.h and winsock.h for WinCE * Additional newlines & braces cleanup
* WinCE: Add support for WinCE (sources)Toby Gray2013-01-231-0/+2
|
* All: Use "" instead of <> for local includesLudovic Rousseau2012-10-131-1/+1
| | | | | System header files are used with #include <foo.h> Xcode can't find local headers using this syntax.
* Misc: Ensure all sources are UTF-8Pete Batard2012-05-231-2/+1
| | | | * Also remove extra lines at the end of samples
* Misc: Rebrand to libusbxPete Batard2012-04-031-2/+2
| | | | | * Mentions of 'libusb' in doxygen are changed to 'libusbx' * Also update copyright notices and remove unneeded EOF LFs
* Rename the lsusb example program to listdevsPeter Stuge2012-02-081-0/+64
This is intended to reduce confusion with the much more significant lsusb utility which is part of the usbutils package.