On Wed, Dec 04, 2013 at 05:45:52PM +0400, Ruslan Kuprieiev wrote: > >>Our own error codes are more informative. > >No, they are not. Plz, use standard errno codes. > > But how can i get from standard codes, for example, whether lib > failed because request is invalid? With this codes, i can. -EINVAL