Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Friday, August 13, 2021
 
 

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,   |
       |                             |system/library/usb/libus-    |
       |                             |but, SUNWlibugenusb          |
       +-----------------------------+-----------------------------+
       |Interface Stability          |Volatile                     |
       +-----------------------------+-----------------------------+
       |MT-Level                     |Unsafe                       |
       +-----------------------------+-----------------------------+

SEE ALSO
       intro(3), attributes(7)


       http://libusb.sourceforge.net



Solaris 11.4                      19 May 2009                     libusb(3LIB)