No description
Find a file
Sean McBride a99a258102 Increase usbi_get_tid() size from int to long
This function has different implementations on every OS, but for some,
like macOS, it was truncating from 64 to 32 bit by casting to int. So
increase its size from int to long.

(The function is currently only used for debug output.)

Closes #1423
2024-04-20 10:18:17 +02:00
.github CI: Add Linux and MSYS build with logging disabled 2023-12-03 11:43:20 +01:00
.private Replace all http://libusb.info/ with https 2024-01-19 21:53:20 +01:00
android android: Fix typo and syntax in comments 2022-03-18 19:16:27 +01:00
doc core: Refactor initialization and how the default context is handled 2021-06-02 22:53:59 -06:00
examples Fix most warnings about implicit sign conversion 2024-04-04 09:01:26 +02:00
libusb Increase usbi_get_tid() size from int to long 2024-04-20 10:18:17 +02:00
msvc msvc: Add tests/init_context project to MSVC 2023-12-19 01:02:41 +01:00
tests Fix most warnings about implicit sign conversion 2024-04-04 09:01:26 +02:00
Xcode xcode: Enable several additional warnings in the Xcode project 2024-04-04 09:01:59 +02:00
.clang-tidy Add clang-tidy config file 2024-02-26 22:46:29 +01:00
.codespellrc Correct some spelling and add codespell config file 2024-01-20 12:09:35 +01:00
.gitattributes Windows: Remove support for WinCE and Visual Studio older than 2013 2020-01-20 18:02:19 -08:00
.gitignore .gitignore: Ignore test binaries and logs 2023-12-09 10:38:56 +01:00
.travis.yml travis: Turn off Homebrew updates 2020-12-19 13:29:38 -08:00
appveyor.yml msvc: Rework msbuild files 2022-06-26 17:09:14 +02:00
AUTHORS libusb 1.0.27-rc1 2023-12-10 17:33:32 +01:00
autogen.sh autogen: Support being called from external build dir 2021-04-14 16:51:09 +02:00
bootstrap.sh autogen: Support being called from external build dir 2021-04-14 16:51:09 +02:00
ChangeLog libusb 1.0.27 2024-01-31 23:11:14 +01:00
configure.ac configure.ac: Bump libtool library version 2024-01-31 23:07:43 +01:00
COPYING Initial commit 2007-12-02 22:54:59 +00:00
HACKING Add HACKING file with hints on proper commits 2023-11-05 14:36:28 +01:00
INSTALL_WIN.txt msvc: Rework msbuild files 2022-06-26 17:09:14 +02:00
libusb-1.0.pc.in Solaris backend 2016-07-24 20:00:00 -06:00
Makefile.am Makefiles: Remove target-specific variables 2020-04-09 12:30:57 -07:00
NEWS Replace all http://libusb.info/ with https 2024-01-19 21:53:20 +01:00
PORTING Misc: Revert all references to libusb/libusb.info 2014-01-08 23:51:01 +00:00
README Replace all http://libusb.info/ with https 2024-01-19 21:53:20 +01:00
README.git Correct some spelling and add codespell config file 2024-01-20 12:09:35 +01:00
README.md Exchange README.md and README 2020-08-23 17:32:06 +02:00
TODO Updated TODO link 2016-07-24 20:02:31 -06:00

libusb

Build Status Build Status Coverity Scan Build Status

libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD, Haiku, Solaris userspace, and WebAssembly via WebUSB. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).

libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.

libusb homepage: https://libusb.info/

Developers will wish to consult the API documentation: http://api.libusb.info

Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info

(Please use the mailing list rather than mailing developers directly)