Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

libusb (3lib)

Name

libusb - space USB device management library

Synopsis

cc [ flag... ] -I/usr/include file... -L/usr/lib \
-R /usr/lib  -lusb  [ library... ]
#include <usb.h>

Description

libusb(3lib)                  Interface Libraries                 libusb(3lib)



NAME
       libusb - user-space USB device management library

SYNOPSIS
       cc [ flag... ] -I/usr/include file... -L/usr/lib \
             -R /usr/lib  -lusb  [ library... ]
       #include <usb.h>


DESCRIPTION
       The libusb library contains interfaces for managing USB devices without
       a kernel driver.  It is an open-source API supported on Linux, MacOS X,
       and NetBSD. See http://libusb.sourceforge.net.


       The current implementation is version 0.1.8 of the libusb API.


       Complete   documentation   for   this   library   can   be   found   at
       /usr/share/doc/libusb/libusb.txt.

INTERFACES
       The shared object libusb.so.1 provides the following public interfaces.
       See intro(3) for additional information on shared object interfaces.




       usb_bulk_read                 usb_bulk_write
       usb_claim_interface           usb_clear_halt
       usb_close                     usb_control_msg
       usb_find_busses               usb_find_devices
       usb_get_busses                usb_get_descriptor_by_endpoint
       usb_get_descriptor            usb_get_string
       usb_get_string_simple         usb_init
       usb_interrupt_read            usb_interrupt_write
       usb_open                      usb_release_interface
       usb_reset                     usb_resetep
       usb_set_altinterface          usb_set_configuration
       usb_set_debug                 usb_strerror


FILES
       /usr/lib/libusb.so.1       shared object


       /usr/lib/64/libusb.so.1    64-bit shared object


       /usr/libusb_plugins        implementation-specific libusb modules


       /usr/bin/libusb-config     script to determine linking environment



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+---------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE       |
       +---------------+---------------------------+
       |Availability   | system/library/usb/libusb |
       +---------------+---------------------------+
       |Stability      | Obsolete                  |
       +---------------+---------------------------+

SEE ALSO
       intro(3), libopenusb(3lib), attributes(7)


       http://libusb.sourceforge.net



NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source was downloaded from  https://github.com/oracle/solaris-userland.

       Further information about this software can be found on the open source
       community website at http://libusb.sf.net/.



Solaris 11.4                      19 May 2009                     libusb(3lib)