[CRIU] [PATCH 2/8] lib: add criu.h

Cyrill Gorcunov gorcunov at gmail.com
Wed Dec 4 02:58:02 PST 2013


On Wed, Dec 04, 2013 at 05:51:41PM +0400, Ruslan Kuprieiev wrote:
> On 04.12.2013 14:50, Cyrill Gorcunov wrote:
> >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
> And how to separate this case from invalid response?

I guess it would be -EBADMSG, take a look on http://man7.org/linux/man-pages/man3/errno.3.html


More information about the CRIU mailing list