|
From: Ian M. <ian...@gm...> - 2017-09-13 17:58:56
|
Tim/Chris, Much obliged for information! Ian On Wed, Sep 13, 2017 at 1:25 PM, Tim Roberts <ti...@pr...> wrote: > Ian Murtaugh wrote: > > > > The negative (-) throws me off, but I guess there is some sort of > > reverse mapping going on at the lower levels... ? > > Tradition. Since the beginning of time, Unix APIs have traditionally > returned 0 for simple success, a positive integer for success with a > byte count, and a negative errno.h value for errors. > > -- > Tim Roberts, ti...@pr... > Providenza & Boekelheide, Inc. > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > libusb-devel mailing list > lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-devel > |