diff options
author | Richard Jones <rjones@redhat.com> | 2010-05-22 18:51:57 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-05-22 18:51:57 +0100 |
commit | 94030c5ce8b5848330e15e812a01064d5afcc6d0 (patch) | |
tree | 56aee812a7fb9437748f5418669de421e63dc658 | |
parent | 012b1c71f4eda3ae779da51d7d81c199d90f667d (diff) | |
download | libguestfs-94030c5ce8b5848330e15e812a01064d5afcc6d0.tar.gz libguestfs-94030c5ce8b5848330e15e812a01064d5afcc6d0.tar.xz libguestfs-94030c5ce8b5848330e15e812a01064d5afcc6d0.zip |
guestfs_version: Correct documentation.
Remove reference to 'ELF weak linking tricks' and replace
with suggestion to use dl* functions.
-rwxr-xr-x | src/generator.ml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/generator.ml b/src/generator.ml index 1212a5a9..ccadbfd5 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -794,8 +794,9 @@ against a completely different C<libguestfs.so> library. This call was added in version C<1.0.58>. In previous versions of libguestfs there was no way to get the version -number. From C code you can use ELF weak linking tricks to find out if -this symbol exists (if it doesn't, then it's an earlier version). +number. From C code you can use dynamic linker functions +to find out if this symbol exists (if it doesn't, then +it's an earlier version). The call returns a structure with four elements. The first three (C<major>, C<minor> and C<release>) are numbers and |