X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fguestfs.pod;h=9717543e4ce4de05f09c8695de322a887ec04490;hp=b21a25ddf468665a50dff9481552721433036f41;hb=7e3d76e41b3c2862ae04744b01e5e23b245393e4;hpb=01d613ae957431d65c700a34e369ef4c06dd6d8f diff --git a/src/guestfs.pod b/src/guestfs.pod index b21a25d..9717543 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -920,6 +920,12 @@ Out of memory errors are handled differently. The default action is to call L. If this is undesirable, then you can set a handler using L. +L returns C if the handle cannot be created, +and because there is no handle if this happens there is no way to get +additional error information. However L is supposed +to be a lightweight operation which can only fail because of +insufficient memory (it returns NULL in this case). + =head2 guestfs_last_error const char *guestfs_last_error (guestfs_h *g);