Re: libvirt library binary name for linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/19/2010 10:16 PM, arnaud.champion@xxxxxxxxxx wrote:
?Okay, I have found it, it's libvirt.so.0

I have also a libvirt.so.0.8.2, I suppose libvirt.so.0 is a link
this.

Another question, in my bindings I need the strdup function
(pinvoked) and under windows, strdup is in msvcrt.dll, but where it
is under linux ?

Hi Arnaud,

On a Fedora 13 Linux box, if I type the command "man strdup", it
shows:

  NAME
         strdup, strndup, strdupa, strndupa - duplicate a string

  SYNOPSIS
         #include <string.h>

         char *strdup(const char *s);

         char *strndup(const char *s, size_t n);
         char *strdupa(const char *s);
         char *strndupa(const char *s, size_t n);

  <other stuff snipped>

The string.h refers to /usr/include/string.h.

I'm not sure which library file the code is in though.  For most
things it's not needed.

Does any of the above help? :)

Regards and best wishes,

Justin Clift

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]