summaryrefslogtreecommitdiff
path: root/libusb/strerror.c
Commit message (Collapse)AuthorAgeFilesLines
* Hungarian translationBence Cs2018-12-051-1/+16
| | | | | | Closes #493 Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
* Fixed typo in the documentationsaur0n2018-12-051-1/+1
| | | | | | Closes #496 Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
* Add German translationAlexander Schlarb2018-10-221-1/+17
| | | | | | | | Most strings were copied from the german `strerror` output on equivallent `errno` values and then adapted as necessary. Closes #446 Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
* Misc: Prefix doxygen references in order to namespace libusbChris Dickens2016-02-241-3/+3
| | | | | | | | | | | This change add "libusb_" to every group and page definition (and updates all references accordingly) so that generated man pages are namespaced for libusb, thus avoiding possible conflict with other packages. Closes #131 Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
* haiku: Add Haiku supportAkshay Jaggi2014-09-251-0/+3
|
* core: Make use of headers consistent across all filesChris Dickens2014-09-061-2/+2
| | | | | | | | * Include config.h before anything else in all files * Remove unnecessary inclusion of libusb.h * Use angle brackets for system headers and quotes for local headers Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
* strerrror.c: Add Russian translationЛарионов Даниил2014-05-191-2/+17
| | | | Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Misc: Revert all references to libusb/libusb.infohjelmn@cs.unm.edu2014-01-081-2/+2
|
* fixed some clang -Wdocumentation warnings from bad doxygen markupSean McBride2013-07-301-1/+1
|
* Core: fix another compiler warning in libusb_setlocale()Pete Batard2013-06-191-1/+1
| | | | | * VS2012 (64 bit) produces the following in strerror.c(156): warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
* Core: fix compiler warning in libusb_setlocale()Ludovic Rousseau2013-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Hello, A small patch for: strerror.c: In function 'libusb_setlocale': strerror.c:148: warning: comparison between signed and unsigned strerror.c:152: warning: comparison between signed and unsigned -- Dr. Ludovic Rousseau From a4144845845cd0a06fb9074ba2d6669ece3a5b1a Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau <ludovic.rousseau+github@gmail.com> Date: Wed, 19 Jun 2013 13:16:31 +0200 Subject: [PATCH] Core: fix compiler warning in libusb_setlocale() strerror.c: In function 'libusb_setlocale': strerror.c:148: warning: comparison between signed and unsigned strerror.c:152: warning: comparison between signed and unsigned Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Core: Add a libusb_strerror() functionHans de Goede2013-06-101-0/+184
This patch adds the much requested libusb_strerror() function, taking into account all issues people raised wrt previous attempts. Criteria / Decisions underlying this implementation: - Must support translated messages - Must not use gettext as that does not work well in combination with Windows (when building with Visual C, or for Windows CE) - API compatible with FreeBSD and various patched libusb-s floating around - KISS: - Do not add any (other) library dependencies - Do not try to deal with message encodings (iconv), simply always return UTF-8 making encoding the problem of the application using libusb_strerror. - Defaults to English, so apps which don't want translated messages, don't need to do anything special - Defaults to English (with pure ASCII messages), so apps which don't call libusb_setlocale() don't need to worry about encoding