]> xenbits.xensource.com Git - libvirt.git/commit
Add helpers for dealing with system errors
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 19 Jul 2013 10:14:51 +0000 (11:14 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 22 Jul 2013 12:09:58 +0000 (13:09 +0100)
commitf5384eed3ff62f92ac2d5a4e93dc13b56f42dbbf
treefb4d4f2662541f5d33f678cc2d3bde347879f625
parentdff93f8cabc146fe39517af3628e485da5a9bc6d
Add helpers for dealing with system errors

Add virErrorSetErrnoFromLastError and virLastErrorIsSystemErrno
to simplify code which wants to handle system errors in a more
graceful fashion.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/libvirt_private.syms
src/util/virerror.c
src/util/virerror.h