git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cd1810
)
docs: Clarify, not every function that returns int returns -1 for errors.
author
Richard W.M. Jones
<rjones@redhat.com>
Wed, 3 Nov 2010 18:01:48 +0000
(18:01 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Wed, 3 Nov 2010 18:49:00 +0000
(18:49 +0000)
src/guestfs.pod
patch
|
blob
|
history
diff --git
a/src/guestfs.pod
b/src/guestfs.pod
index
da03128
..
dd06880
100644
(file)
--- a/
src/guestfs.pod
+++ b/
src/guestfs.pod
@@
-877,8
+877,8
@@
This closes the connection handle and frees up all resources used.
=head1 ERROR HANDLING
-The convention in all functions that return C<int> is that they return
-C<-1> to indicate an error.
+API functions can return errors. For example, almost all functions
+
that return C<int> will return
C<-1> to indicate an error.
Additional information is available for errors: an error message
string and optionally an error number (errno) if the thing that failed