# HG changeset patch # User John Beck # Date 1433534919 25200 # Node ID c35bb70ab3d86a715b4dcfca1d4427285a58a4db # Parent d35242d8330cc6ad9df6eae007d819775276d2cb 21210461 add libusb.3lib to Userland diff -r d35242d8330c -r c35bb70ab3d8 components/libusb/wrapper/libusb.3lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/libusb/wrapper/libusb.3lib Fri Jun 05 13:08:39 2015 -0700 @@ -0,0 +1,124 @@ +'\" te +.\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved. +.TH libusb 3LIB "19 May 2009" "SunOS 5.12" "Interface Libraries" +.SH NAME +libusb \- user-space USB device management library +.SH SYNOPSIS +.LP +.nf +cc [ \fIflag\fR... ] \fB-I\fR/usr/include \fIfile\fR... \fB-L\fR/usr/lib \e + \fB -R \fR/usr/lib \fB -lusb \fR [ \fIlibrary\fR... ] +#include +.fi + +.SH DESCRIPTION +.sp +.LP +The \fBlibusb\fR 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. +.sp +.LP +The current implementation is version 0.1.8 of the \fBlibusb\fR API. +.sp +.LP +Complete documentation for this library can be found at \fB/usr/share/doc/libusb/libusb.txt\fR. +.SH INTERFACES +.sp +.LP +The shared object \fBlibusb.so.1\fR provides the following public interfaces. See \fBIntro\fR(3) for additional information on shared object interfaces. +.sp + +.sp +.TS +tab(); +lw(2.75i) lw(2.75i) +lw(2.75i) lw(2.75i) +. +\fBusb_bulk_read\fR\fBusb_bulk_write\fR +\fBusb_claim_interface\fR\fBusb_clear_halt\fR +\fBusb_close\fR\fBusb_control_msg\fR +\fBusb_find_busses\fR\fBusb_find_devices\fR +\fBusb_get_busses\fR\fBusb_get_descriptor_by_endpoint\fR +\fBusb_get_descriptor\fR\fBusb_get_string\fR +\fBusb_get_string_simple\fR\fBusb_init\fR +\fBusb_interrupt_read\fR\fBusb_interrupt_write\fR +\fBusb_open\fR\fBusb_release_interface\fR +\fBusb_reset\fR\fBusb_resetep\fR +\fBusb_set_altinterface\fR\fBusb_set_configuration\fR +\fBusb_set_debug\fR\fBusb_strerror\fR +.TE + +.SH FILES +.sp +.ne 2 +.mk +.na +\fB\fB/usr/lib/libusb.so.1\fR\fR +.ad +.RS 27n +.rt +shared object +.RE + +.sp +.ne 2 +.mk +.na +\fB\fB/usr/lib/64/libusb.so.1\fR\fR +.ad +.RS 27n +.rt +64-bit shared object +.RE + +.sp +.ne 2 +.mk +.na +\fB\fB/usr/libusb_plugins\fR\fR +.ad +.RS 27n +.rt +implementation-specific \fBlibusb\fR modules +.RE + +.sp +.ne 2 +.mk +.na +\fB\fB/usr/bin/libusb-config\fR\fR +.ad +.RS 27n +.rt +script to determine linking environment +.RE + +.SH ATTRIBUTES +.sp +.LP +See \fBattributes\fR(5) for descriptions of the following attributes: +.sp + +.sp +.TS +tab() box; +cw(2.75i) |cw(2.75i) +lw(2.75i) |lw(2.75i) +. +ATTRIBUTE TYPEATTRIBUTE VALUE +_ +AvailabilityT{ +system/library/usb/libusb, system/library/usb/libusbut, SUNWlibugenusb +T} +_ +Interface StabilityVolatile +_ +MT-LevelUnsafe +.TE + +.SH SEE ALSO +.sp +.LP +\fBIntro\fR(3), \fBattributes\fR(5) +.sp +.LP +http://libusb.sourceforge.net diff -r d35242d8330c -r c35bb70ab3d8 components/libusb/wrapper/libusb.p5m --- a/components/libusb/wrapper/libusb.p5m Sat May 30 14:41:57 2015 -0700 +++ b/components/libusb/wrapper/libusb.p5m Fri Jun 05 13:08:39 2015 -0700 @@ -44,6 +44,8 @@ file $(MACH32)/libusb.so.1 path=usr/lib/libusb.so.1 file $(MACH32)/libusb.pc path=usr/lib/pkgconfig/libusb.pc file $(MACH32)/libusb.txt path=usr/share/doc/libusb/libusb.txt +# This page is pre-Solarified, so no mangling needed. +file libusb.3lib path=usr/share/man/man3lib/libusb.3lib mangler.bypass=true legacy pkg=SUNWlibusb desc="Sun wrapper library for libusb" \ name="Sun wrapper library for libusb" license libusb.license license=BSD